]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
media: i2c: imx208: Use const 'struct bin_attribute' callback
authorThomas Weißschuh <linux@weissschuh.net>
Sun, 15 Dec 2024 14:18:33 +0000 (15:18 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 19 Dec 2024 11:50:19 +0000 (12:50 +0100)
commitd9599ed3281bd0595d137277daf603714d833575
treea0abdd094a498a815e791c6dc38e69af4d340ef4
parentb76fb1f2c5a39e8e1b785e94a08448847fe4c626
media: i2c: imx208: Use const 'struct bin_attribute' callback

The sysfs core now provides callback variants that explicitly take a
const pointer. Make use of it to match the attribute definition.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/i2c/imx208.c