Skip to content
Commit 286adb4c authored by Harshal Chaudhari's avatar Harshal Chaudhari Committed by Greg Kroah-Hartman
Browse files

misc: xilinx-sdfec: convert to module_platform_driver()



The driver init and exit function don't do anything besides registering
and unregistering the platform driver, so the module_platform_driver()
macro could just be used instead of having separate functions.

Signed-off-by: default avatarHarshal Chaudhari <harshalchau04@gmail.com>
Acked-by: default avatarDragan Cvetic <dragan.cvetic@xilinx.com>
Link: https://lore.kernel.org/r/20200510164308.31358-1-harshalchau04@gmail.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 7066c2f6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment