diff options
author | Kees Cook <keescook@chromium.org> | 2014-07-14 17:38:11 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-07-17 21:43:40 -0400 |
commit | b1425189d0f928babb62bdc0609a4cd4d341654d (patch) | |
tree | 6f392884f598ec2ea852a962a1c6c06410a1e0f0 /Documentation/firmware_class | |
parent | 954513551f5afb7893b7c688a67219356ab3efe6 (diff) |
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>
Diffstat (limited to 'Documentation/firmware_class')
-rw-r--r-- | Documentation/firmware_class/README | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Documentation/firmware_class/README b/Documentation/firmware_class/README index 43fada989e65..71f86859d7d8 100644 --- a/Documentation/firmware_class/README +++ b/Documentation/firmware_class/README | |||
@@ -64,7 +64,7 @@ | |||
64 | 64 | ||
65 | if(request_firmware(&fw_entry, $FIRMWARE, device) == 0) | 65 | if(request_firmware(&fw_entry, $FIRMWARE, device) == 0) |
66 | copy_fw_to_device(fw_entry->data, fw_entry->size); | 66 | copy_fw_to_device(fw_entry->data, fw_entry->size); |
67 | release(fw_entry); | 67 | release_firmware(fw_entry); |
68 | 68 | ||
69 | Sample/simple hotplug script: | 69 | Sample/simple hotplug script: |
70 | ============================ | 70 | ============================ |
@@ -74,7 +74,7 @@ | |||
74 | HOTPLUG_FW_DIR=/usr/lib/hotplug/firmware/ | 74 | HOTPLUG_FW_DIR=/usr/lib/hotplug/firmware/ |
75 | 75 | ||
76 | echo 1 > /sys/$DEVPATH/loading | 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 | echo 0 > /sys/$DEVPATH/loading | 78 | echo 0 > /sys/$DEVPATH/loading |
79 | 79 | ||
80 | Random notes: | 80 | Random notes: |
@@ -123,6 +123,6 @@ | |||
123 | -------------------- | 123 | -------------------- |
124 | After firmware cache mechanism is introduced during system sleep, | 124 | After firmware cache mechanism is introduced during system sleep, |
125 | request_firmware can be called safely inside device's suspend and | 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 | themselves any more for dealing with firmware loss during system | 127 | themselves any more for dealing with firmware loss during system |
128 | resume. | 128 | resume. |