mirror of
https://github.com/torvalds/linux.git
synced 2026-09-26 10:02:02 +02:00
Move the I2C read/write byte operations from the sbtsi hwmon driver into a common sbtsi_xfer() function in tsi-core.c. This decouples the hwmon sensor driver from the underlying bus transport, preparing for I3C support in a subsequent patch. This patch does not introduce any functional changes. The updates are limited to code organization/cleanup and should not affect the runtime behavior of the driver Reviewed-by: Akshay Gupta <Akshay.Gupta@amd.com> Signed-off-by: Prathima <Prathima.Lk@amd.com> Acked-by: Guenter Roeck <linux@roeck-us.net> Link: https://patch.msgid.link/20260710111642.850022-4-Akshay.Gupta@amd.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8 lines
264 B
Makefile
8 lines
264 B
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
sbrmi-i2c-objs += rmi-i2c.o rmi-core.o
|
|
sbrmi-i2c-$(CONFIG_AMD_SBRMI_HWMON) += rmi-hwmon.o
|
|
obj-$(CONFIG_AMD_SBRMI_I2C) += sbrmi-i2c.o
|
|
# SBTSI Configuration
|
|
sbtsi-objs += tsi.o tsi-core.o
|
|
obj-$(CONFIG_AMD_SBTSI) += sbtsi.o
|