summaryrefslogtreecommitdiffstats
path: root/drivers/misc/vmw_vmci
diff options
context:
space:
mode:
authorBartosz Golaszewski <brgl@bgdev.pl>2018-03-19 10:17:18 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-03-23 16:25:44 +0100
commit551a12669d85b5121e66bf39ff194efd7d1d9ac0 (patch)
treeb3572b47def0a292856768a97ea773f5acdf169f /drivers/misc/vmw_vmci
parenteeprom: at24: remove at24_platform_data from at24_data (diff)
downloadlinux-551a12669d85b5121e66bf39ff194efd7d1d9ac0.tar.xz
linux-551a12669d85b5121e66bf39ff194efd7d1d9ac0.zip
eeprom: at24: refactor at24_probe()
The code in at24_probe() is pretty mangled. It can be cleaned up a bit by doing things one by one. Let's group the code by logic: parse and verify pdata, initialize the regmap, allocate and fill the fields of at24_data, allocate dummy i2c devices, initialize pm & register with nvmem. 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/vmw_vmci')
0 files changed, 0 insertions, 0 deletions