eeprom: ee1004: Remove usage of i2c_adapter_id in adapter comparison
authorHeiner Kallweit <hkallweit1@gmail.com>
Mon, 24 May 2021 20:11:31 +0000 (22:11 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 27 May 2021 12:49:39 +0000 (14:49 +0200)
commitb97ba92e2962b7ede713bc5b70dcf747083e45f9
tree7cf51183372cd7adb34bd97cd61c6e2c4e83519f
parent64bf274711c0ba973bb1907fd5119c0d06255e37
eeprom: ee1004: Remove usage of i2c_adapter_id in adapter comparison

We can compare the adapter pointers directly instead of using
i2c_adapter_id().

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Link: https://lore.kernel.org/r/99a3f94d-e7ca-e01d-6a78-81e109fde086@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/eeprom/ee1004.c