eeprom: at24: fix retrieving the at24_chip_data structure
authorBartosz Golaszewski <brgl@bgdev.pl>
Mon, 7 May 2018 10:08:37 +0000 (12:08 +0200)
committerBartosz Golaszewski <brgl@bgdev.pl>
Wed, 9 May 2018 15:16:06 +0000 (17:16 +0200)
commit76aa3de7095f15af7300012cb29ea8ab93eec348
tree3edd19f4121c5bb6ca98b22a0aa070fde65e5714
parent75bc37fefc4471e718ba8e651aa74673d4e0a9eb
eeprom: at24: fix retrieving the at24_chip_data structure

Commit feb2f19b1e8f ("eeprom: at24: move platform data processing into
a separate routine") introduced a bug where we incorrectly retireve the
at24_chip_data structure. Remove the unnecessary ampersand operator.

Fixes: feb2f19b1e8f ("eeprom: at24: move platform data processing into a separate routine")
Reported-by: Vadim Pasternak <vadimp@mellanox.com>
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
drivers/misc/eeprom/at24.c