diff options
| author | Uwe Kleine-König <[email protected]> | 2024-01-23 17:08:47 +0000 |
|---|---|---|
| committer | Krzysztof Kozlowski <[email protected]> | 2024-01-23 21:38:16 +0000 |
| commit | f0b203bf9bbc89d3230d6a3d6254d11f7a4b6064 (patch) | |
| tree | d2b517697b9c84350037795a2ecb7564f9b37d48 /fs/btrfs/dev-replace.c | |
| parent | memory: emif: Simplify code handling CONFIG_OF (diff) | |
| download | kernel-f0b203bf9bbc89d3230d6a3d6254d11f7a4b6064.tar.gz kernel-f0b203bf9bbc89d3230d6a3d6254d11f7a4b6064.zip | |
memory: emif: Drop usage of platform_driver_probe()
There are considerations to drop platform_driver_probe() as a concept
that isn't relevant any more today. It comes with an added complexity
that makes many users hold it wrong. (E.g. this driver should have
better used __init instead of __init_or_module to mark functions only
relevant to .probe() and mark the driver struct with __refdata.)
This fixes a W=1 build warning:
WARNING: modpost: drivers/memory/emif: section mismatch in reference: emif_driver+0x4 (section: .data) -> emif_remove (section: .exit.text)
Signed-off-by: Uwe Kleine-König <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Krzysztof Kozlowski <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions
