Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a88b6d56 authored by kbuild test robot's avatar kbuild test robot Committed by Corey Minyard
Browse files

fix platform_no_drv_owner.cocci warnings



drivers/char/ipmi/ipmb_dev_int.c:352:3-8: No need to set .owner here. The core will do it.

 Remove .owner field if calls are used which set it automatically

Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci

Fixes: 51bd6f29 ("Add support for IPMB driver")
CC: Asmaa Mnebhi <Asmaa@mellanox.com>
Signed-off-by: default avatarkbuild test robot <lkp@intel.com>
Message-Id: <20190623185044.GA94834@lkp-kbuild21>
Signed-off-by: default avatarCorey Minyard <cminyard@mvista.com>
parent 21feadd0
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -350,7 +350,6 @@ MODULE_DEVICE_TABLE(acpi, acpi_ipmb_id);

static struct i2c_driver ipmb_driver = {
	.driver = {
		.owner = THIS_MODULE,
		.name = "ipmb-dev",
		.acpi_match_table = ACPI_PTR(acpi_ipmb_id),
	},