Skip to content

Commit

Permalink
doc: fix minor typos in firmware_class README
Browse files Browse the repository at this point in the history
This is a tiny clean up for typos in the firmware_class README.

Signed-off-by: Kees Cook <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
kees authored and gregkh committed Jul 18, 2014
1 parent 9545135 commit b142518
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Documentation/firmware_class/README
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@

if(request_firmware(&fw_entry, $FIRMWARE, device) == 0)
copy_fw_to_device(fw_entry->data, fw_entry->size);
release(fw_entry);
release_firmware(fw_entry);

Sample/simple hotplug script:
============================
Expand All @@ -74,7 +74,7 @@
HOTPLUG_FW_DIR=/usr/lib/hotplug/firmware/

echo 1 > /sys/$DEVPATH/loading
cat $HOTPLUG_FW_DIR/$FIRMWARE > /sysfs/$DEVPATH/data
cat $HOTPLUG_FW_DIR/$FIRMWARE > /sys/$DEVPATH/data
echo 0 > /sys/$DEVPATH/loading

Random notes:
Expand Down Expand Up @@ -123,6 +123,6 @@
--------------------
After firmware cache mechanism is introduced during system sleep,
request_firmware can be called safely inside device's suspend and
resume callback, and callers need't cache the firmware by
resume callback, and callers needn't cache the firmware by
themselves any more for dealing with firmware loss during system
resume.

0 comments on commit b142518

Please sign in to comment.