Re: [PATCH] cpufreq: pcc-cpufreq: Fail initialization if driver cannot be registered

2019-06-27 Thread Rafael J. Wysocki
On Friday, June 7, 2019 5:05:46 AM CEST Viresh Kumar wrote: > On 06-06-19, 14:50, David Arcari wrote: > > Make pcc_cpufreq_init() return error codes when the driver cannot be > > registered. Otherwise the driver can shows up loaded via lsmod even > > though it failed initialization. This is

Re: [PATCH] cpufreq: pcc-cpufreq: Fail initialization if driver cannot be registered

2019-06-06 Thread Viresh Kumar
On 06-06-19, 14:50, David Arcari wrote: > Make pcc_cpufreq_init() return error codes when the driver cannot be > registered. Otherwise the driver can shows up loaded via lsmod even > though it failed initialization. This is confusing to the user. > > Signed-off-by: David Arcari > Cc: "Rafael

[PATCH] cpufreq: pcc-cpufreq: Fail initialization if driver cannot be registered

2019-06-06 Thread David Arcari
Make pcc_cpufreq_init() return error codes when the driver cannot be registered. Otherwise the driver can shows up loaded via lsmod even though it failed initialization. This is confusing to the user. Signed-off-by: David Arcari Cc: "Rafael J. Wysocki" Cc: Viresh Kumar ---