]> asedeno.scripts.mit.edu Git - linux.git/commit
hwmon: (ibmpowernv) drop unnecessary OF name NULL checks
authorRob Herring <robh@kernel.org>
Wed, 29 Aug 2018 20:02:21 +0000 (15:02 -0500)
committerGuenter Roeck <linux@roeck-us.net>
Thu, 11 Oct 2018 03:37:13 +0000 (20:37 -0700)
commite9d02c6414e1090c82c89df340d3516fbc09ddf4
tree40a8f0084801bfdfe744a87c89af19217be14373
parent86103cffe8834fef0a342fcac82585ff67cda569
hwmon: (ibmpowernv) drop unnecessary OF name NULL checks

Checking the child node names is pointless as the DT node name can
never be NULL, so remove it.

Cc: Jean Delvare <jdelvare@suse.com>
Cc: Guenter Roeck <linux@roeck-us.net>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: linux-hwmon@vger.kernel.org
Cc: linuxppc-dev@lists.ozlabs.org
Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/ibmpowernv.c