Commit 19e9b89c authored by Akhil R's avatar Akhil R Committed by Greg Kroah-Hartman
Browse files

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: default avatarAkhil R <akhilrajeev@nvidia.com>
Reviewed-by: default avatarAndy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: default avatarWolfram Sang <wsa@kernel.org>
Stable-dep-of: 8d3cefaf ("i2c: core: Lock address during client device instantiation")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent c15e2ab4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment