Re: [PATCH v2 6/6] pwm: jz4740: Use __init_or_module and __exit for .probe and .remove

2019-06-08 Thread Paul Cercueil
I misunderstood what __init_or_module was for. Please ignore this patch (the rest of the patchset is OK). Sorry for the noise. Le ven. 7 juin 2019 à 17:44, Paul Cercueil a écrit : This allows the probe function to be dropped after the kernel finished its initialization, in the case where the

[PATCH v2 6/6] pwm: jz4740: Use __init_or_module and __exit for .probe and .remove

2019-06-07 Thread Paul Cercueil
This allows the probe function to be dropped after the kernel finished its initialization, in the case where the driver was not compiled as a module. Signed-off-by: Paul Cercueil --- Notes: v2: New patch drivers/pwm/pwm-jz4740.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)