[PATCH 5/7] drm/sun4i: dw-hdmi: Split driver registration

Maxime Ripard mripard at kernel.org
Mon Sep 25 00:47:15 PDT 2023


On Sun, Sep 24, 2023 at 09:26:02PM +0200, Jernej Skrabec wrote:
> There is no reason to register two drivers in same place. Using macro
> lowers amount of boilerplate code.

There's one actually: you can't have several module_init functions in
the some module, and both files are compiled into the same module.

Maxime
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20230925/614d9cb6/attachment.sig>


More information about the linux-arm-kernel mailing list