summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOren Weil <oren.jer.weil@intel.com>2011-09-07 09:03:08 +0300
committerGreg Kroah-Hartman <gregkh@suse.de>2011-09-09 13:28:20 -0700
commit92eb40134332eba28cde3c2aecdb48a561c437b1 (patch)
tree21309606db69d5cfa36fe7afedc737c95db0b432
parent617aa39639943626fa262757d176be413c54571b (diff)
downloadop-kernel-dev-92eb40134332eba28cde3c2aecdb48a561c437b1.zip
op-kernel-dev-92eb40134332eba28cde3c2aecdb48a561c437b1.tar.gz
staging: mei: fix register access function comments
Signed-off-by: Oren Weil <oren.jer.weil@intel.com> Acked-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r--drivers/staging/mei/mei_dev.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/mei/mei_dev.h b/drivers/staging/mei/mei_dev.h
index d7bc10c..2e11077 100644
--- a/drivers/staging/mei/mei_dev.h
+++ b/drivers/staging/mei/mei_dev.h
@@ -356,7 +356,7 @@ int mei_find_me_client_index(const struct mei_device *dev, uuid_le cuuid);
* @dev: the device structure
* @offset: offset from which to read the data
*
- * returns the byte read.
+ * returns register value (u32)
*/
static inline u32 mei_reg_read(struct mei_device *dev, unsigned long offset)
{
@@ -368,7 +368,7 @@ static inline u32 mei_reg_read(struct mei_device *dev, unsigned long offset)
*
* @dev: the device structure
* @offset: offset from which to write the data
- * @value: the byte to write
+ * @value: register value to write (u32)
*/
static inline void mei_reg_write(struct mei_device *dev,
unsigned long offset, u32 value)
OpenPOWER on IntegriCloud