diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2016-04-22 13:04:14 +0300 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2016-04-23 22:18:09 +0100 |
commit | f21122593d99c7e051891da1b148c771b7d56e07 (patch) | |
tree | 01fd6b7cb33aee40d30c7da8d32af3051e292663 /drivers/gpio/gpio-arizona.c | |
parent | eb3798463f71afc77abd25b2f62708be06f7173b (diff) | |
download | blackbird-op-linux-f21122593d99c7e051891da1b148c771b7d56e07.tar.gz blackbird-op-linux-f21122593d99c7e051891da1b148c771b7d56e07.zip |
iio: light: apds9960: silence uninitialized variable warning
It causes a static checker warning if we use "buf" on the failure path
so move that inside the if statement.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/gpio/gpio-arizona.c')
0 files changed, 0 insertions, 0 deletions