commit | cb26d236861ca6a3354f1623ae5b9c049fd2f972 | [log] [tgz] |
---|---|---|
author | Jonathan Cameron <Jonathan.Cameron@huawei.com> | Thu Sep 10 18:32:30 2020 +0100 |
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | Mon Sep 21 18:41:32 2020 +0100 |
tree | 04258c153e0b3bf15df3fc6bc682d391c26be0d0 | |
parent | a867e8986759bf25251c8cad3798cba0e4c25a6e [diff] |
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