diff options
| author | Uwe Kleine-König <[email protected]> | 2023-10-16 10:35:41 +0000 |
|---|---|---|
| committer | Miquel Raynal <[email protected]> | 2023-10-27 17:43:16 +0000 |
| commit | 60ec53ace2cb8a6f5678af1ea614f8582e32c081 (patch) | |
| tree | c8b34bfe2ad39e2446bfb0a96dd3ad9a667fa657 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | |
| parent | mtd: rawnand: Remove unused of_gpio.h inclusion (diff) | |
| download | kernel-60ec53ace2cb8a6f5678af1ea614f8582e32c081.tar.gz kernel-60ec53ace2cb8a6f5678af1ea614f8582e32c081.zip | |
mtd: rawnand: sh_flctl: Convert to module_platform_driver()
The driver doesn't benefit from the advantages that
module_platform_driver_probe() allows (i.e. putting the probe function
in .init.text and the .remove function into .exit.text).
So use module_platform_driver() instead which allows to bind the driver
also after booting (or module loading) and unbinding via sysfs.
Signed-off-by: Uwe Kleine-König <[email protected]>
Signed-off-by: Miquel Raynal <[email protected]>
Link: https://lore.kernel.org/linux-mtd/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions
