aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorDavid Arcari <[email protected]>2019-06-06 14:50:52 -0400
committerRafael J. Wysocki <[email protected]>2019-06-17 12:25:30 +0200
commit2d4a79ae34048996906e585375c2e3e699e1e11a (patch)
tree6124e81d3adbe1ed4e5c15f7ee701676b15dedeb /net/lapb/lapb_subr.c
parent9e0babf2c06c73cda2c0cd37a1653d823adb40ec (diff)
cpufreq: pcc-cpufreq: Fail initialization if driver cannot be registered
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 <[email protected]> Cc: "Rafael J. Wysocki" <[email protected]> Cc: Viresh Kumar <[email protected]> Acked-by: Viresh Kumar <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions