Home
last modified time | relevance | path

Searched hist:"0 c90466a7985d39355f743e9cd2139da3e86c4d8" (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/mtd/hyperbus/
H A Drpc-if.cdiff 0c90466a7985d39355f743e9cd2139da3e86c4d8 Fri Jun 03 16:07:45 CDT 2022 Uwe Kleine-König <u.kleine-koenig@pengutronix.de> mtd: hyperbus: Make hyperbus_unregister_device() return void

The only thing that could theoretically fail in that function is
mtd_device_unregister(). However it's not supposed to fail and when
used correctly it doesn't. So wail loudly if it does anyhow.

This matches how other drivers (e.g. nand/raw/nandsim.c) use
mtd_device_unregister().

This is a preparation for making platform remove callbacks return void.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20220603210758.148493-2-u.kleine-koenig@pengutronix.de
H A Dhyperbus-core.cdiff 0c90466a7985d39355f743e9cd2139da3e86c4d8 Fri Jun 03 16:07:45 CDT 2022 Uwe Kleine-König <u.kleine-koenig@pengutronix.de> mtd: hyperbus: Make hyperbus_unregister_device() return void

The only thing that could theoretically fail in that function is
mtd_device_unregister(). However it's not supposed to fail and when
used correctly it doesn't. So wail loudly if it does anyhow.

This matches how other drivers (e.g. nand/raw/nandsim.c) use
mtd_device_unregister().

This is a preparation for making platform remove callbacks return void.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20220603210758.148493-2-u.kleine-koenig@pengutronix.de
H A Dhbmc-am654.cdiff 0c90466a7985d39355f743e9cd2139da3e86c4d8 Fri Jun 03 16:07:45 CDT 2022 Uwe Kleine-König <u.kleine-koenig@pengutronix.de> mtd: hyperbus: Make hyperbus_unregister_device() return void

The only thing that could theoretically fail in that function is
mtd_device_unregister(). However it's not supposed to fail and when
used correctly it doesn't. So wail loudly if it does anyhow.

This matches how other drivers (e.g. nand/raw/nandsim.c) use
mtd_device_unregister().

This is a preparation for making platform remove callbacks return void.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20220603210758.148493-2-u.kleine-koenig@pengutronix.de
/openbmc/linux/include/linux/mtd/
H A Dhyperbus.hdiff 0c90466a7985d39355f743e9cd2139da3e86c4d8 Fri Jun 03 16:07:45 CDT 2022 Uwe Kleine-König <u.kleine-koenig@pengutronix.de> mtd: hyperbus: Make hyperbus_unregister_device() return void

The only thing that could theoretically fail in that function is
mtd_device_unregister(). However it's not supposed to fail and when
used correctly it doesn't. So wail loudly if it does anyhow.

This matches how other drivers (e.g. nand/raw/nandsim.c) use
mtd_device_unregister().

This is a preparation for making platform remove callbacks return void.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20220603210758.148493-2-u.kleine-koenig@pengutronix.de