diff options
author | Bartosz Golaszewski <brgl@bgdev.pl> | 2018-03-19 10:17:13 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-03-23 16:25:00 +0100 |
commit | 11288b7c70d89b2587cca3dc5dd004df49ff8daf (patch) | |
tree | 484e30744a0ec46fb5e2a3166f3d22cd274cdf11 /block/blk-map.c | |
parent | eeprom: at24: use a helper variable for dev (diff) | |
download | linux-11288b7c70d89b2587cca3dc5dd004df49ff8daf.tar.xz linux-11288b7c70d89b2587cca3dc5dd004df49ff8daf.zip |
eeprom: at24: readability tweak in at24_probe()
Use a helper variable for the size we want to allocate with
devm_kzalloc() and save an ugly line break.
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>
Diffstat (limited to 'block/blk-map.c')
0 files changed, 0 insertions, 0 deletions