doc: fix minor typos in firmware_class README
authorKees Cook <keescook@chromium.org>
Mon, 14 Jul 2014 21:38:11 +0000 (14:38 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Jul 2014 01:43:40 +0000 (18:43 -0700)
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>
Documentation/firmware_class/README

index 43fada9..71f8685 100644 (file)
@@ -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:
  ============================
@@ -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:
  --------------------
  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.