lantiq: update spi driver to upstream version
[openwrt/openwrt.git] / target / linux / lantiq / patches-4.9 / 0091-spi-lantiq-ssc-fix-platform_no_drv_owner.cocci-warni.patch
1 From ba6e1e39969fa5435127a632757e2906caca7730 Mon Sep 17 00:00:00 2001
2 From: kbuild test robot <fengguang.wu@intel.com>
3 Date: Mon, 20 Feb 2017 01:33:10 +0800
4 Subject: spi: lantiq-ssc: fix platform_no_drv_owner.cocci warnings
5
6 drivers/spi/spi-lantiq-ssc.c:973:3-8: No need to set .owner here. The core will do it.
7
8 Remove .owner field if calls are used which set it automatically
9
10 Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
11
12 Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
13 Acked-by: Hauke Mehrtens <hauke@hauke-m.de>
14 Signed-off-by: Mark Brown <broonie@kernel.org>
15 ---
16 drivers/spi/spi-lantiq-ssc.c | 1 -
17 1 file changed, 1 deletion(-)
18
19 --- a/drivers/spi/spi-lantiq-ssc.c
20 +++ b/drivers/spi/spi-lantiq-ssc.c
21 @@ -970,7 +970,6 @@ static struct platform_driver lantiq_ssc
22 .remove = lantiq_ssc_remove,
23 .driver = {
24 .name = "spi-lantiq-ssc",
25 - .owner = THIS_MODULE,
26 .of_match_table = lantiq_ssc_match,
27 },
28 };