]> git.baikalelectronics.ru Git - kernel.git/commit
eeprom: at24: use a helper variable for dev
authorBartosz Golaszewski <brgl@bgdev.pl>
Mon, 19 Mar 2018 09:17:12 +0000 (10:17 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 Mar 2018 15:25:00 +0000 (16:25 +0100)
commit3ea2f5ce01181b8920d2485da82ddcf6a0a5413d
treea80186395b44b90c4d742e657e48e9f006aac343
parent18488d51d4ac9fdf0226c48310d9456d763f710f
eeprom: at24: use a helper variable for dev

We use the &client->dev construct all over in at24_probe(). Use
a helper variable which is more readable and allows to avoid a couple
unnecessary line breaks.

Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Tested-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/eeprom/at24.c