iio: potentiometer: tpl0102: change i2c functionality return code
authorMatt Ranostay <mranostay@gmail.com>
Sat, 5 Mar 2016 06:55:25 +0000 (22:55 -0800)
committerJonathan Cameron <jic23@kernel.org>
Sat, 5 Mar 2016 14:00:57 +0000 (14:00 +0000)
commit844a65636793d284526ff7d623ef477ed4473ab4
tree9b1f6c4df5b03a416a3376dc5cf7611e6476429f
parent9bad1d0a5a0313b69597269474fd15849414cfae
iio: potentiometer: tpl0102: change i2c functionality return code

Change i2c_check_functionality condition check return from ENOTSUPP to
EOPNOTSUPP which is now the standard return code.

Signed-off-by: Matt Ranostay <mranostay@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/potentiometer/tpl0102.c