diff options
author | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2020-09-10 20:32:30 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2020-09-21 20:41:32 +0300 |
commit | cb26d236861ca6a3354f1623ae5b9c049fd2f972 (patch) | |
tree | 04258c153e0b3bf15df3fc6bc682d391c26be0d0 /include/linux/fpga/fpga-mgr.h | |
parent | a867e8986759bf25251c8cad3798cba0e4c25a6e (diff) | |
download | linux-cb26d236861ca6a3354f1623ae5b9c049fd2f972.tar.xz |
iio:chemical:sgp30: Use local variable dev to simplify code
This cleans up the code at bit, but is primarily here as a precusor
to the next patch. I've only done this for the two functions
which use the dev pointer repeatedly.
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Cc: Andreas Brauchli <andreas.brauchli@sensirion.com>
Link: https://lore.kernel.org/r/20200910173242.621168-27-jic23@kernel.org
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions