]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
iio: sx9310: Change from .probe to .probe_new
authorDaniel Campello <campello@chromium.org>
Mon, 3 Aug 2020 23:58:05 +0000 (17:58 -0600)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Thu, 3 Sep 2020 18:40:41 +0000 (19:40 +0100)
commit9b2cac94698794c49b993db0646c37c2188dcfae
tree3673388078a49c3dd63441f9335f0edb49670900
parentef5bdbab3511a6df31a0f660a7bc1e2494d72f61
iio: sx9310: Change from .probe to .probe_new

Uses .probe_new in place of .probe. Also uses device_get_match_data()
for whoami matching.

Signed-off-by: Daniel Campello <campello@chromium.org>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/proximity/sx9310.c