[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230906114901.63174-3-JoseJavier.Rodriguez@duagon.com>
Date: Wed, 6 Sep 2023 11:49:28 +0000
From: Rodríguez Barbarin, José Javier
<JoseJavier.Rodriguez@...gon.com>
To: "gregkh@...uxfoundation.org" <gregkh@...uxfoundation.org>,
"jirislaby@...nel.org" <jirislaby@...nel.org>
CC: "morbidrsa@...il.com" <morbidrsa@...il.com>,
"linux-serial@...r.kernel.org" <linux-serial@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"jth@...nel.org" <jth@...nel.org>,
Sanjuán García, Jorge
<Jorge.SanjuanGarcia@...gon.com>,
Sanjuán García, Jorge
<Jorge.SanjuanGarcia@...gon.com>,
Rodríguez Barbarin, José Javier
<JoseJavier.Rodriguez@...gon.com>
Subject: [PATCH v3 2/2] mcb: use short version for function pointer for
mcb_free_bus
From: Jorge Sanjuan Garcia <jorge.sanjuangarcia@...gon.com>
Just a style change so that the device release callbacks are defined
in the same way for devices in mcb_bus and mcb_device.
Signed-off-by: Jorge Sanjuan Garcia <jorge.sanjuangarcia@...gon.com>
Co-developed-by: Jose Javier Rodriguez Barbarin <JoseJavier.Rodriguez@...gon.com>
Signed-off-by: Jose Javier Rodriguez Barbarin <JoseJavier.Rodriguez@...gon.com>
---
drivers/mcb/mcb-core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mcb/mcb-core.c b/drivers/mcb/mcb-core.c
index 0cac5bead84f..5c6157b0db75 100644
--- a/drivers/mcb/mcb-core.c
+++ b/drivers/mcb/mcb-core.c
@@ -288,7 +288,7 @@ struct mcb_bus *mcb_alloc_bus(struct device *carrier)
bus->dev.parent = carrier;
bus->dev.bus = &mcb_bus_type;
bus->dev.type = &mcb_carrier_device_type;
- bus->dev.release = &mcb_free_bus;
+ bus->dev.release = mcb_free_bus;
dev_set_name(&bus->dev, "mcb:%d", bus_nr);
rc = device_add(&bus->dev);
--
2.34.1
Powered by blists - more mailing lists