[PATCH 4/4] extcon: fixing typos

2012-08-22 Thread Chanwoo Choi
From: Peter Meerwald 

Signed-off-by: Peter Meerwald 
Signed-off-by: Myungjoo Ham 
---
 drivers/extcon/extcon-class.c |8 
 include/linux/extcon.h|   18 +-
 2 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/drivers/extcon/extcon-class.c b/drivers/extcon/extcon-class.c
index 481cfa0..946a318 100644
--- a/drivers/extcon/extcon-class.c
+++ b/drivers/extcon/extcon-class.c
@@ -443,7 +443,7 @@ static int _call_per_cable(struct notifier_block *nb, 
unsigned long val,
 
 /**
  * extcon_register_interest() - Register a notifier for a state change of a
- *   specific cable, not a entier set of cables of a
+ *   specific cable, not an entier set of cables of a
  *   extcon device.
  * @obj:   an empty extcon_specific_cable_nb object to be returned.
  * @extcon_name:   the name of extcon device.
@@ -499,7 +499,7 @@ int extcon_unregister_interest(struct 
extcon_specific_cable_nb *obj)
 }
 
 /**
- * extcon_register_notifier() - Register a notifee to get notified by
+ * extcon_register_notifier() - Register a notifiee to get notified by
  *   any attach status changes from the extcon.
  * @edev:  the extcon device.
  * @nb:a notifier block to be registered.
@@ -516,7 +516,7 @@ int extcon_register_notifier(struct extcon_dev *edev,
 EXPORT_SYMBOL_GPL(extcon_register_notifier);
 
 /**
- * extcon_unregister_notifier() - Unregister a notifee from the extcon device.
+ * extcon_unregister_notifier() - Unregister a notifiee from the extcon device.
  * @edev:  the extcon device.
  * @nb:a registered notifier block to be unregistered.
  */
@@ -806,7 +806,7 @@ EXPORT_SYMBOL_GPL(extcon_dev_register);
 
 /**
  * extcon_dev_unregister() - Unregister the extcon device.
- * @edev:  the extcon device instance to be unregitered.
+ * @edev:  the extcon device instance to be unregistered.
  *
  * Note that this does not call kfree(edev) because edev was not allocated
  * by this class.
diff --git a/include/linux/extcon.h b/include/linux/extcon.h
index cdd4014..7443a56 100644
--- a/include/linux/extcon.h
+++ b/include/linux/extcon.h
@@ -30,19 +30,19 @@
 
 /*
  * The standard cable name is to help support general notifier
- * and notifee device drivers to share the common names.
+ * and notifiee device drivers to share the common names.
  * Please use standard cable names unless your notifier device has
  * a very unique and abnormal cable or
  * the cable type is supposed to be used with only one unique
- * pair of notifier/notifee devices.
+ * pair of notifier/notifiee devices.
  *
  * Please add any other "standard" cables used with extcon dev.
  *
  * You may add a dot and number to specify version or specification
  * of the specific cable if it is required. (e.g., "Fast-charger.18"
  * and "Fast-charger.10" for 1.8A and 1.0A chargers)
- * However, the notifee and notifier should be able to handle such
- * string and if the notifee can negotiate the protocol or idenify,
+ * However, the notifiee and notifier should be able to handle such
+ * string and if the notifiee can negotiate the protocol or identify,
  * you don't need such convention. This convention is helpful when
  * notifier can distinguish but notifiee cannot.
  */
@@ -76,7 +76,7 @@ struct extcon_cable;
  * struct extcon_dev - An extcon device represents one external connector.
  * @name   The name of this extcon device. Parent device name is used
  * if NULL.
- * @supported_cableArray of supported cable name ending with NULL.
+ * @supported_cableArray of supported cable names ending with NULL.
  * If supported_cable is NULL, cable name related APIs
  * are disabled.
  * @mutually_exclusive Array of mutually exclusive set of cables that cannot
@@ -95,7 +95,7 @@ struct extcon_cable;
  * @state  Attach/detach state of this extcon. Do not provide at
  * register-time
  * @nh Notifier for the state change events from this extcon
- * @entry  To support list of extcon devices so that uses can search
+ * @entry  To support list of extcon devices so that users can search
  * for extcon devices based on the extcon name.
  * @lock
  * @max_supported  Internal value to store the number of cables.
@@ -199,7 +199,7 @@ extern int extcon_update_state(struct extcon_dev *edev, u32 
mask, u32 state);
 /*
  * get/set_cable_state access each bit of the 32b encoded state value.
  * They are used to access the status of each cable based on the cable_name
- * or cable_index, which is retrived by extcon_find_cable_index
+ * or cable_index, which is retrieved by extcon_find_cable_index
  */
 extern int extcon_find_cable_index(struct extcon_dev *sdev,
   const char *cable_name);
@@ -226,9 +226,9 @@ extern int extcon_unregister_interest(struct 
extcon_specific_cable_nb 

[PATCH 4/4] extcon: fixing typos

2012-08-22 Thread Chanwoo Choi
From: Peter Meerwald pme...@pmeerw.net

Signed-off-by: Peter Meerwald pme...@pmeerw.net
Signed-off-by: Myungjoo Ham myungjoo@samsung.com
---
 drivers/extcon/extcon-class.c |8 
 include/linux/extcon.h|   18 +-
 2 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/drivers/extcon/extcon-class.c b/drivers/extcon/extcon-class.c
index 481cfa0..946a318 100644
--- a/drivers/extcon/extcon-class.c
+++ b/drivers/extcon/extcon-class.c
@@ -443,7 +443,7 @@ static int _call_per_cable(struct notifier_block *nb, 
unsigned long val,
 
 /**
  * extcon_register_interest() - Register a notifier for a state change of a
- *   specific cable, not a entier set of cables of a
+ *   specific cable, not an entier set of cables of a
  *   extcon device.
  * @obj:   an empty extcon_specific_cable_nb object to be returned.
  * @extcon_name:   the name of extcon device.
@@ -499,7 +499,7 @@ int extcon_unregister_interest(struct 
extcon_specific_cable_nb *obj)
 }
 
 /**
- * extcon_register_notifier() - Register a notifee to get notified by
+ * extcon_register_notifier() - Register a notifiee to get notified by
  *   any attach status changes from the extcon.
  * @edev:  the extcon device.
  * @nb:a notifier block to be registered.
@@ -516,7 +516,7 @@ int extcon_register_notifier(struct extcon_dev *edev,
 EXPORT_SYMBOL_GPL(extcon_register_notifier);
 
 /**
- * extcon_unregister_notifier() - Unregister a notifee from the extcon device.
+ * extcon_unregister_notifier() - Unregister a notifiee from the extcon device.
  * @edev:  the extcon device.
  * @nb:a registered notifier block to be unregistered.
  */
@@ -806,7 +806,7 @@ EXPORT_SYMBOL_GPL(extcon_dev_register);
 
 /**
  * extcon_dev_unregister() - Unregister the extcon device.
- * @edev:  the extcon device instance to be unregitered.
+ * @edev:  the extcon device instance to be unregistered.
  *
  * Note that this does not call kfree(edev) because edev was not allocated
  * by this class.
diff --git a/include/linux/extcon.h b/include/linux/extcon.h
index cdd4014..7443a56 100644
--- a/include/linux/extcon.h
+++ b/include/linux/extcon.h
@@ -30,19 +30,19 @@
 
 /*
  * The standard cable name is to help support general notifier
- * and notifee device drivers to share the common names.
+ * and notifiee device drivers to share the common names.
  * Please use standard cable names unless your notifier device has
  * a very unique and abnormal cable or
  * the cable type is supposed to be used with only one unique
- * pair of notifier/notifee devices.
+ * pair of notifier/notifiee devices.
  *
  * Please add any other standard cables used with extcon dev.
  *
  * You may add a dot and number to specify version or specification
  * of the specific cable if it is required. (e.g., Fast-charger.18
  * and Fast-charger.10 for 1.8A and 1.0A chargers)
- * However, the notifee and notifier should be able to handle such
- * string and if the notifee can negotiate the protocol or idenify,
+ * However, the notifiee and notifier should be able to handle such
+ * string and if the notifiee can negotiate the protocol or identify,
  * you don't need such convention. This convention is helpful when
  * notifier can distinguish but notifiee cannot.
  */
@@ -76,7 +76,7 @@ struct extcon_cable;
  * struct extcon_dev - An extcon device represents one external connector.
  * @name   The name of this extcon device. Parent device name is used
  * if NULL.
- * @supported_cableArray of supported cable name ending with NULL.
+ * @supported_cableArray of supported cable names ending with NULL.
  * If supported_cable is NULL, cable name related APIs
  * are disabled.
  * @mutually_exclusive Array of mutually exclusive set of cables that cannot
@@ -95,7 +95,7 @@ struct extcon_cable;
  * @state  Attach/detach state of this extcon. Do not provide at
  * register-time
  * @nh Notifier for the state change events from this extcon
- * @entry  To support list of extcon devices so that uses can search
+ * @entry  To support list of extcon devices so that users can search
  * for extcon devices based on the extcon name.
  * @lock
  * @max_supported  Internal value to store the number of cables.
@@ -199,7 +199,7 @@ extern int extcon_update_state(struct extcon_dev *edev, u32 
mask, u32 state);
 /*
  * get/set_cable_state access each bit of the 32b encoded state value.
  * They are used to access the status of each cable based on the cable_name
- * or cable_index, which is retrived by extcon_find_cable_index
+ * or cable_index, which is retrieved by extcon_find_cable_index
  */
 extern int extcon_find_cable_index(struct extcon_dev *sdev,
   const char *cable_name);
@@ -226,9 +226,9 @@ extern int