]> www.infradead.org Git - users/dwmw2/linux.git/commit
i2c: davinci: kill platform data
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Wed, 11 Dec 2024 10:23:35 +0000 (11:23 +0100)
committerAndi Shyti <andi.shyti@kernel.org>
Tue, 7 Jan 2025 22:49:07 +0000 (23:49 +0100)
commitb04ce63859793e3439b394976b8d29e785d4d69a
tree19873c96f1ab9e52b6bc11f574908d473277b013
parent70f3d3669c074efbcee32867a1ab71f5f7ead385
i2c: davinci: kill platform data

There are no more board file users of this driver. The platform data
structure is only used internally. Two of the four fields it stores are
not used at all anymore. Pull the remainder into the driver data struct
and shrink code by removing parts that are now dead code.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Link: https://lore.kernel.org/r/20241211102337.37956-1-brgl@bgdev.pl
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
drivers/i2c/busses/i2c-davinci.c
include/linux/platform_data/i2c-davinci.h [deleted file]