mfd: bcm590xx: Simplify a test
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Tue, 1 Nov 2016 06:49:05 +0000 (07:49 +0100)
committerLee Jones <lee.jones@linaro.org>
Tue, 29 Nov 2016 08:21:33 +0000 (08:21 +0000)
commit794550ffbf9134f8357b3035b8784f4ead6001d6
tree4a93ab332383da0615082f809f7ed7cb1eff85e1
parent51a6c60b2f4d96e6954b620e84d5d9dc7ddc4103
mfd: bcm590xx: Simplify a test

'i2c_new_dummy()' does not return an error pointer, so the test can be
simplified to be more consistent.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/bcm590xx.c