staging: iio: resolver: fix comparison to NULL
authorEva Rachel Retuya <eraretuya@gmail.com>
Thu, 18 Feb 2016 10:59:39 +0000 (18:59 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 20 Feb 2016 22:46:35 +0000 (14:46 -0800)
commitb5b6e7beb0a0e6fb553af1a18b52f6d835b40951
tree9e6d34ae96a94fadb660cf7997a0eb0b02e45e86
parentc7e426d1c521922689cb00e4665674c128de8e37
staging: iio: resolver: fix comparison to NULL

Remove comparison of spi->dev.platform_data to NULL by replacing it with
'!spi->dev.platform_data' as checkpatch suggested:

CHECK: Comparison to NULL could be written "!spi->dev.platform_data"

Signed-off-by: Eva Rachel Retuya <eraretuya@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/iio/resolver/ad2s1210.c