Re: [PATCH] crypto: Move MODULE_DEVICE_TABLE next to the table itself

From: Herbert Xu

Date: Fri May 15 2026 - 06:26:51 EST


On Tue, May 05, 2026 at 12:29:49PM +0200, Krzysztof Kozlowski wrote:
> By convention MODULE_DEVICE_TABLE() immediately follows the ID table it
> exports, because this is easier to read and verify. It also makes more
> sense since #ifdef for ACPI or OF could hide both of them.
>
> Most of the privers already have this correctly placed, so adjust
> the missing ones. No functional impact.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxxxxxxxx>
> ---
> drivers/crypto/cavium/cpt/cptpf_main.c | 2 +-
> drivers/crypto/cavium/cpt/cptvf_main.c | 2 +-
> drivers/crypto/marvell/octeontx/otx_cptpf_main.c | 2 +-
> drivers/crypto/marvell/octeontx/otx_cptvf_main.c | 2 +-
> drivers/crypto/marvell/octeontx2/otx2_cptpf_main.c | 2 +-
> drivers/crypto/marvell/octeontx2/otx2_cptvf_main.c | 2 +-
> 6 files changed, 6 insertions(+), 6 deletions(-)

Patch applied. Thanks.
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt