regulator: max77802: fix a test in max77802_set_suspend_mode()
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 27 Oct 2014 10:45:06 +0000 (13:45 +0300)
committerMark Brown <broonie@kernel.org>
Mon, 27 Oct 2014 18:18:21 +0000 (18:18 +0000)
commitbf2753755fe0f6b77f73636a2fe3f39a84ab1ca8
tree7042811983b70a90be0ed8438bb26c35bf64412a
parent5356e0da49e61e0de29a5f61996be66e97425217
regulator: max77802: fix a test in max77802_set_suspend_mode()

The original test triggers a static checker warning.  Javier Martinez
Canillas says that the "!" is a typo and should be removed.

Fixes: 2e0eaa1aa008 ('regulator: max77802: Add set suspend mode for BUCKs and simplify code')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Tested-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/max77802.c