3
0
Fork 0
forked from mirrors/linux
kernel/drivers/gpu/drm/sun4i
Linus Torvalds e70140ba0d Get rid of 'remove_new' relic from platform driver struct
The continual trickle of small conversion patches is grating on me, and
is really not helping.  Just get rid of the 'remove_new' member
function, which is just an alias for the plain 'remove', and had a
comment to that effect:

  /*
   * .remove_new() is a relic from a prototype conversion of .remove().
   * New drivers are supposed to implement .remove(). Once all drivers are
   * converted to not use .remove_new any more, it will be dropped.
   */

This was just a tree-wide 'sed' script that replaced '.remove_new' with
'.remove', with some care taken to turn a subsequent tab into two tabs
to make things line up.

I did do some minimal manual whitespace adjustment for places that used
spaces to line things up.

Then I just removed the old (sic) .remove_new member function, and this
is the end result.  No more unnecessary conversion noise.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2024-12-01 15:12:43 -08:00
..
Kconfig drm/sun4i: Run DRM default client setup 2024-09-26 09:31:27 +02:00
Makefile
sun4i_backend.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
sun4i_backend.h
sun4i_crtc.c
sun4i_crtc.h
sun4i_drv.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
sun4i_drv.h
sun4i_framebuffer.c
sun4i_framebuffer.h
sun4i_frontend.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
sun4i_frontend.h
sun4i_hdmi.h
sun4i_hdmi_ddc_clk.c
sun4i_hdmi_enc.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
sun4i_hdmi_i2c.c
sun4i_hdmi_tmds_clk.c
sun4i_layer.c
sun4i_layer.h
sun4i_lvds.c
sun4i_lvds.h
sun4i_rgb.c
sun4i_rgb.h
sun4i_tcon.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
sun4i_tcon.h
sun4i_tcon_dclk.c
sun4i_tcon_dclk.h
sun4i_tv.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
sun6i_drc.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
sun6i_mipi_dsi.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
sun6i_mipi_dsi.h
sun8i_csc.c
sun8i_csc.h
sun8i_dw_hdmi.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
sun8i_dw_hdmi.h
sun8i_hdmi_phy.c
sun8i_hdmi_phy_clk.c
sun8i_mixer.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
sun8i_mixer.h
sun8i_tcon_top.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
sun8i_tcon_top.h
sun8i_ui_layer.c
sun8i_ui_layer.h
sun8i_ui_scaler.c
sun8i_ui_scaler.h
sun8i_vi_layer.c
sun8i_vi_layer.h
sun8i_vi_scaler.c
sun8i_vi_scaler.h
sunxi_engine.h