]> git.ipfire.org Git - thirdparty/linux.git/commit
misc: amd-sbi: Move protocol functionality to core file
authorAkshay Gupta <akshay.gupta@amd.com>
Mon, 28 Apr 2025 06:30:26 +0000 (06:30 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 May 2025 12:44:40 +0000 (14:44 +0200)
commit43470595e72bd4448fcf0cd720c4d37c34035eb7
tree659f89d36917843d12b8873e6282e5f02fd38076
parente1565867640506166b6c4182dec9ee955492d003
misc: amd-sbi: Move protocol functionality to core file

- This is done to utilize the protocol functionality into
  other domains.
- Increase the scalability of the module with different bus(i2c/i3c)

Reviewed-by: Naveen Krishna Chatradhi <naveenkrishna.chatradhi@amd.com>
Signed-off-by: Akshay Gupta <akshay.gupta@amd.com>
Link: https://lore.kernel.org/r/20250428063034.2145566-3-akshay.gupta@amd.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/amd-sbi/Kconfig
drivers/misc/amd-sbi/Makefile
drivers/misc/amd-sbi/rmi-core.c [new file with mode: 0644]
drivers/misc/amd-sbi/rmi-core.h [new file with mode: 0644]
drivers/misc/amd-sbi/rmi-i2c.c [moved from drivers/misc/amd-sbi/sbrmi.c with 53% similarity]