cpuidle: Drop unused cpuidle_driver_ref/unref() functions
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 2 Jan 2020 20:42:16 +0000 (21:42 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 9 Jan 2020 15:47:22 +0000 (16:47 +0100)
commit577a2f41f4c7aced4fed41b20ee77cedd8c197cf
treeadaa29034f8389ff3cb1622ed670753388105ba5
parent85c3ebd4a0510c0700e4f3e205bbb46757a53feb
cpuidle: Drop unused cpuidle_driver_ref/unref() functions

The cpuidle_driver_ref() and cpuidle_driver_unref() functions are not
used and the refcnt field in struct cpuidle_driver operated by them
is not updated anywhere else (so it is permanently equal to 0), so
drop both of them along with refcnt.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/cpuidle/driver.c
include/linux/cpuidle.h