leds: lp3952: Use 'if (ret)' pattern
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 23 Mar 2017 19:17:49 +0000 (21:17 +0200)
committerJacek Anaszewski <jacek.anaszewski@gmail.com>
Thu, 23 Mar 2017 19:33:59 +0000 (20:33 +0100)
commitf4363d810767fcbd0aaad2e1d456be5d76bf54eb
tree81aa95b596c45328521ee600313697b67c425176
parent96962178475ae8040f40dff3a44beb9f69181421
leds: lp3952: Use 'if (ret)' pattern

Instead of unusual "if (!ret)" use "if (ret)" in lp3952_get_label().

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Jacek Anaszewski <jacek.anaszewski@gmail.com>
drivers/leds/leds-lp3952.c