aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/message/i2o/device.c
diff options
context:
space:
mode:
authorMarkus Lidel <Markus.Lidel@shadowconnect.com>2006-01-06 03:19:32 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-06 11:33:54 -0500
commit2e1973a3cd0b9fe31469be62df3583bdc5a34f51 (patch)
treee44d7f091fca1cb64037555f5e856a3f2d027e8b /drivers/message/i2o/device.c
parentdcceafe25a5f47cf69e5b46b4da6f15186ec8386 (diff)
[PATCH] I2O: Beautifying
Fix some typos and minor code beautifying. Signed-off-by: Markus Lidel <Markus.Lidel@shadowconnect.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/message/i2o/device.c')
-rw-r--r--drivers/message/i2o/device.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/drivers/message/i2o/device.c b/drivers/message/i2o/device.c
index a5e260b7a3b6..773b0a4cfe21 100644
--- a/drivers/message/i2o/device.c
+++ b/drivers/message/i2o/device.c
@@ -176,6 +176,7 @@ static ssize_t i2o_device_show_tid(struct device *dev,
176 return strlen(buf) + 1; 176 return strlen(buf) + 1;
177} 177}
178 178
179/* I2O device attributes */
179struct device_attribute i2o_device_attrs[] = { 180struct device_attribute i2o_device_attrs[] = {
180 __ATTR(class_id, S_IRUGO, i2o_device_show_class_id, NULL), 181 __ATTR(class_id, S_IRUGO, i2o_device_show_class_id, NULL),
181 __ATTR(tid, S_IRUGO, i2o_device_show_tid, NULL), 182 __ATTR(tid, S_IRUGO, i2o_device_show_tid, NULL),
@@ -505,12 +506,12 @@ int i2o_parm_field_get(struct i2o_device *i2o_dev, int group, int field,
505 * else return specific fields 506 * else return specific fields
506 * ibuf contains fieldindexes 507 * ibuf contains fieldindexes
507 * 508 *
508 * if oper == I2O_PARAMS_LIST_GET, get from specific rows 509 * if oper == I2O_PARAMS_LIST_GET, get from specific rows
509 * if fieldcount == -1 return all fields 510 * if fieldcount == -1 return all fields
510 * ibuf contains rowcount, keyvalues 511 * ibuf contains rowcount, keyvalues
511 * else return specific fields 512 * else return specific fields
512 * fieldcount is # of fieldindexes 513 * fieldcount is # of fieldindexes
513 * ibuf contains fieldindexes, rowcount, keyvalues 514 * ibuf contains fieldindexes, rowcount, keyvalues
514 * 515 *
515 * You could also use directly function i2o_issue_params(). 516 * You could also use directly function i2o_issue_params().
516 */ 517 */