summaryrefslogtreecommitdiffstats
path: root/drivers/spi/Kconfig
diff options
context:
space:
mode:
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>2013-02-22 10:52:35 +0800
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-03-12 18:23:17 +0000
commitd77b5382e67d1e1394e40c5c95fb5947efe0ff9e (patch)
tree924abeb94a522466207130270924e95c97d4220a /drivers/spi/Kconfig
parentf6161aa153581da4a3867a2d1a7caf4be19b6ec9 (diff)
downloadblackbird-op-linux-d77b5382e67d1e1394e40c5c95fb5947efe0ff9e.tar.gz
blackbird-op-linux-d77b5382e67d1e1394e40c5c95fb5947efe0ff9e.zip
spi: fix return value check in ce4100_spi_probe()
In case of error, the function platform_device_register_full() returns ERR_PTR() and never returns NULL. The NULL test in the return value check should be replaced with IS_ERR(). Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/spi/Kconfig')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud