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 /drivers/misc/ti-st | |
parent | 021c7d7b6713c75b3605fba4317fffc8e2e83ca1 (diff) |
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 'drivers/misc/ti-st')
0 files changed, 0 insertions, 0 deletions