diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2016-04-14 12:34:07 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-04-14 16:46:19 +0300 |
commit | 7cb7348f75e442e2ea4bc0b2430a232b13998abf (patch) | |
tree | 74e7a6fd246993cd61a8c79ea393c94eef51a79d /drivers/gpu | |
parent | f55532a0c0b8bb6148f4e07853b876ef73bc69ca (diff) | |
download | linux-7cb7348f75e442e2ea4bc0b2430a232b13998abf.tar.xz |
regulator: lp3972: Silence uninitialized variable warning
This is harmless but my static checker complains that "tmp" is
uninitialized if lp3972_i2c_read() fails. I have moved the line of code
below the error handling to silence the warning.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/gpu')
0 files changed, 0 insertions, 0 deletions