aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/array.c
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2021-02-16 15:50:48 +0000
committerPavel Machek <[email protected]>2021-02-19 21:15:43 +0000
commit5d2bfb3fb95b2d448c0fbcaa2c58b215b2fa87fc (patch)
treeeb528810b3a897d49650e02fad308a5f4315beae /fs/proc/array.c
parentleds: lp50xx: Reduce level of dereferences (diff)
downloadkernel-5d2bfb3fb95b2d448c0fbcaa2c58b215b2fa87fc.tar.gz
kernel-5d2bfb3fb95b2d448c0fbcaa2c58b215b2fa87fc.zip
leds: lp50xx: Get rid of redundant check in lp50xx_enable_disable()
Since GPIO is optional the API is NULL aware and will check descriptor anyway. Remove duplicate redundant check in lp50xx_enable_disable(). Signed-off-by: Andy Shevchenko <[email protected]> Signed-off-by: Pavel Machek <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions