summaryrefslogtreecommitdiffstats
path: root/kernel/cpu_pm.c
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@codeaurora.org>2012-03-28 23:30:43 +0200
committerRafael J. Wysocki <rjw@sisk.pl>2012-03-28 23:30:43 +0200
commitdddb5549da6b15ea8b9ce9ee0859c8d1fa268b5b (patch)
treeed085381d5934f8de96d0c63515a586507324466 /kernel/cpu_pm.c
parent247bc03742545fec2f79939a3b9f738392a0f7b4 (diff)
downloadop-kernel-dev-dddb5549da6b15ea8b9ce9ee0859c8d1fa268b5b.zip
op-kernel-dev-dddb5549da6b15ea8b9ce9ee0859c8d1fa268b5b.tar.gz
firmware_class: Reorganize fw_create_instance()
Recent patches to split up the three phases of request_firmware() lead to a casting away of const in fw_create_instance(). We can avoid this cast by splitting up fw_create_instance() a bit. Make _request_firmware_setup() return a struct fw_priv and use that struct instead of passing struct firmware to _request_firmware(). Move the uevent and device file creation bits to the loading phase and rename the function to _request_firmware_load() to better reflect its purpose. Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Diffstat (limited to 'kernel/cpu_pm.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud