leds: powernv: removing NULL check
authorSaurabh Sengar <saurabh.truth@gmail.com>
Mon, 23 Nov 2015 09:28:16 +0000 (14:58 +0530)
committerJacek Anaszewski <j.anaszewski@samsung.com>
Mon, 4 Jan 2016 08:57:38 +0000 (09:57 +0100)
commit5a7c536f26186c313e521502f942d5cdaf05b8ee
treedd028818f11adf0857f6c78c2b42628ea09f3911
parentb964c5ba6d52475d70e3550fbb3780ebabedf7db
leds: powernv: removing NULL check

No need to explicitly check for pointer to be null,
of_prop_next_string anyways returns NULL, if passed pointer is NULL
and hence loop will continue.

Signed-off-by: Saurabh Sengar <saurabh.truth@gmail.com>
Acked-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com>
drivers/leds/leds-powernv.c