commit | 7785bf11f312624101462d7dc840e27344899873 | [log] [tgz] |
---|---|---|
author | Jesper Juhl <jj@chaosbits.net> | Sat Jul 02 22:38:11 2011 +0200 |
committer | Samuel Ortiz <sameo@linux.intel.com> | Sun Jul 31 23:28:25 2011 +0200 |
tree | 3e72c4acb68066db492ac9a71f0743b4e39952ad | |
parent | 54f323b1325499574d92c85201971df096c25b79 [diff] |
mfd: Remove dead code from max8997-irq We either hit one of the case's or the default in the switch statement in get_i2c(), so the 'return ERR_PTR(-EINVAL);' at the end of the function is just dead code - remove it. Signed-off-by: Jesper Juhl <jj@chaosbits.net> Acked-by: MyungJoo Ham <myungjoo.ham@samsung.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>