summaryrefslogtreecommitdiff
path: root/include/linux/swap_cgroup.h
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2023-02-27 01:26:52 +0300
committerWolfram Sang <wsa@kernel.org>2023-03-09 23:59:11 +0300
commit03c835f498b540087244a6757e87dfe7ef10999b (patch)
tree98c51960e5158bcc79dda003abf48fa512412589 /include/linux/swap_cgroup.h
parent7eafbd40901c2b6f884c022c10bec5c8ec5c6a24 (diff)
downloadlinux-03c835f498b540087244a6757e87dfe7ef10999b.tar.xz
i2c: Switch .probe() to not take an id parameter
Commit b8a1a4cd5a98 ("i2c: Provide a temporary .probe_new() call-back type") introduced a new probe callback to convert i2c init routines to not take an i2c_device_id parameter. Now that all in-tree drivers are converted to the temporary .probe_new() callback, .probe() can be modified to match the desired prototype. Now that .probe() and .probe_new() have the same semantic, they can be defined as members of an anonymous union to save some memory and simplify the core code a bit. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'include/linux/swap_cgroup.h')
0 files changed, 0 insertions, 0 deletions