Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

doc: fix minor typos in firmware_class README

This is a tiny clean up for typos in the firmware_class README.

Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Kees Cook and committed by
Greg Kroah-Hartman
b1425189 95451355

+3 -3
+3 -3
Documentation/firmware_class/README
··· 64 64 65 65 if(request_firmware(&fw_entry, $FIRMWARE, device) == 0) 66 66 copy_fw_to_device(fw_entry->data, fw_entry->size); 67 - release(fw_entry); 67 + release_firmware(fw_entry); 68 68 69 69 Sample/simple hotplug script: 70 70 ============================ ··· 74 74 HOTPLUG_FW_DIR=/usr/lib/hotplug/firmware/ 75 75 76 76 echo 1 > /sys/$DEVPATH/loading 77 - cat $HOTPLUG_FW_DIR/$FIRMWARE > /sysfs/$DEVPATH/data 77 + cat $HOTPLUG_FW_DIR/$FIRMWARE > /sys/$DEVPATH/data 78 78 echo 0 > /sys/$DEVPATH/loading 79 79 80 80 Random notes: ··· 123 123 -------------------- 124 124 After firmware cache mechanism is introduced during system sleep, 125 125 request_firmware can be called safely inside device's suspend and 126 - resume callback, and callers need't cache the firmware by 126 + resume callback, and callers needn't cache the firmware by 127 127 themselves any more for dealing with firmware loss during system 128 128 resume.