]> git.ipfire.org Git - thirdparty/linux.git/commit
i2c: rtl9300: remove const cast
authorRosen Penev <rosenp@gmail.com>
Wed, 17 Dec 2025 06:30:26 +0000 (22:30 -0800)
committerAndi Shyti <andi.shyti@kernel.org>
Thu, 15 Jan 2026 17:30:24 +0000 (18:30 +0100)
commitfc31008d5f57e71afa124550ca01b4399434435e
tree9eb97237061b63c68dd4667d36cab1c8cb0ce407
parentbdc0c634612e3a9ecf318387a2c9cc0321ebf212
i2c: rtl9300: remove const cast

These casts are used to remove const for no good reason. Fix the types
instead.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Reviewed-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Link: https://lore.kernel.org/r/20251217063027.37987-2-rosenp@gmail.com
drivers/i2c/busses/i2c-rtl9300.c