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, 16 May 2018 12:42:46 +0000 (14:42 +0200)
commit5fa4d14e55ec5370dcb373d2aa7a882ea9b5be16
treef8ca8303b3eb57be3af56244e8c95d7df7d17b10
parent67b8d5c7081221efa252e111cd52532ec6d4266f
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