commit | 536bbca7cfc9e7a85704de552fcf4b5d1062a38e | [log] [tgz] |
---|---|---|
author | Adriana Reus <adriana.reus@intel.com> | Fri Nov 06 11:10:37 2015 +0200 |
committer | Jonathan Cameron <jic23@kernel.org> | Sun Nov 08 15:34:40 2015 +0000 |
tree | cfaa05ac5ee3f61e9e3ddadf231e72096d9e881a | |
parent | a84ef0d181d917125f1f16cffe53f84c19968969 [diff] |
iio: light: pa12203001: Poweroff chip if register fails Make sure we poweroff the chip if for any reason iio_register returns an error. Signed-off-by: Adriana Reus <adriana.reus@intel.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>