Uwe Kleine-König 1fc9ea0580 fbdev: omapfb/hdmi: Don't put .remove() in .exit.text and drop suppress_bind_attrs
On today's platforms the memory savings of putting the remove function
in .exit isn't that relevant any more. It only matters for built-in
drivers and typically saves a few 100k.

The downside is that the driver cannot be unbound at runtime which is
ancient and also slightly complicates testing. Also it requires to mark
the driver struct with __refdata which is needed to suppress a (W=1)
modpost warning:

	WARNING: modpost: drivers/video/fbdev/omap2/omapfb/displays/connector-hdmi: section mismatch in reference: hdmi_connector_driver+0x4 (section: .data) -> hdmic_remove (section: .exit.text)

To simplify matters, move the remove callback to .text and drop
.suppress_bind_attrs = true.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Helge Deller <deller@gmx.de>
2023-11-10 07:34:18 +01:00
..
2023-11-04 16:20:36 -10:00
2023-11-01 12:50:12 -10:00
2023-11-02 14:05:18 -10:00
2023-11-03 15:15:47 -10:00
2023-11-01 14:46:51 -10:00
2023-11-01 14:46:51 -10:00
2023-11-01 09:34:55 -10:00
2023-11-01 15:28:33 -10:00
2023-11-03 18:56:51 -10:00
2023-10-30 19:09:55 -10:00
2023-11-03 15:44:25 -10:00
2023-11-03 16:00:42 -10:00
2023-11-04 10:42:07 -10:00
2023-10-31 18:32:51 -10:00
2023-11-03 15:44:25 -10:00
2023-10-31 17:44:17 -10:00
2023-11-04 16:25:36 -10:00
2023-11-02 15:20:30 -10:00
2023-11-01 15:28:33 -10:00
2023-11-01 16:44:56 -10:00
2023-11-01 09:34:55 -10:00
2023-10-30 19:09:55 -10:00
2023-11-02 14:53:19 -10:00
2023-11-03 10:07:39 -10:00
2023-11-05 18:45:32 -08:00
2023-11-06 15:06:06 -08:00
2023-11-02 14:40:51 -10:00
2023-10-27 12:00:35 +02:00
2023-11-01 12:30:07 -10:00
2023-10-31 18:50:13 -10:00
2023-11-04 16:20:36 -10:00
2023-11-01 20:51:41 -10:00
2023-11-03 19:06:12 -10:00
2023-11-01 14:46:51 -10:00
2023-11-03 16:00:42 -10:00
2023-10-30 13:14:27 +00:00
2023-11-05 18:49:40 -08:00
2023-10-25 16:50:11 +02:00
2023-11-03 10:07:39 -10:00
2023-11-03 19:10:41 -10:00
2023-11-03 16:00:42 -10:00
2023-11-06 15:06:06 -08:00
2023-11-02 15:13:50 -10:00
2023-11-03 15:44:25 -10:00
2023-11-02 15:13:50 -10:00
2023-11-03 16:00:42 -10:00
2023-11-04 15:58:13 -10:00