i2c: smbus: Use device_*() functions instead of of_*()
[ Upstream commit a263a840 ] Change of_*() functions to device_*() for firmware agnostic usage. This allows to have the smbus_alert interrupt without any changes in the controller drivers using the ACPI table. Signed-off-by:Akhil R <akhilrajeev@nvidia.com> Reviewed-by:
Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by:
Wolfram Sang <wsa@kernel.org> Stable-dep-of: 8d3cefaf ("i2c: core: Lock address during client device instantiation") Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading