Skip to content
Commit 7785bf11 authored by Jesper Juhl's avatar Jesper Juhl Committed by Samuel Ortiz
Browse files

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: default avatarJesper Juhl <jj@chaosbits.net>
Acked-by: default avatarMyungJoo Ham <myungjoo.ham@samsung.com>
Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
parent 54f323b1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment