summaryrefslogtreecommitdiffstats
path: root/sound/pci/als4000.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-05-03 00:25:49 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-05-12 14:14:17 +0200
commit0902a9044fa5b7a0456ea4daacec2c2b3189ba8c (patch)
tree7161c5cbf23ec6b8ef42f5655340be38e5f0e1a8 /sound/pci/als4000.c
parentDriver core: Add offline/online device operations (diff)
downloadlinux-0902a9044fa5b7a0456ea4daacec2c2b3189ba8c.tar.xz
linux-0902a9044fa5b7a0456ea4daacec2c2b3189ba8c.zip
Driver core: Use generic offline/online for CPU offline/online
Rework the CPU hotplug code in drivers/base/cpu.c to use the generic offline/online support introduced previously instead of its own CPU-specific code. For this purpose, modify cpu_subsys to provide offline and online callbacks for CONFIG_HOTPLUG_CPU set and remove the code handling the CPU-specific 'online' sysfs attribute. This modification is not supposed to change the user-observable behavior of the kernel (i.e. the 'online' attribute will be present in exactly the same place in sysfs and should trigger exactly the same actions as before). Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Reviewed-by: Toshi Kani <toshi.kani@hp.com>
Diffstat (limited to 'sound/pci/als4000.c')
0 files changed, 0 insertions, 0 deletions