summaryrefslogtreecommitdiffstats
path: root/drivers/staging/sm750fb/ddk750_swi2c.c
diff options
context:
space:
mode:
authorElizabeth Ferdman <gnudevliz@gmail.com>2016-09-28 14:33:51 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-10-02 16:51:56 +0200
commit35e4d8ca05e87d38fb160cb35ba7c3282192a77b (patch)
tree5999b2753b0f4d2cc17b0527598b2fd981cf4158 /drivers/staging/sm750fb/ddk750_swi2c.c
parent5cf62679153ed7014d6952bb6a5094b3ee31428d (diff)
downloadop-kernel-dev-35e4d8ca05e87d38fb160cb35ba7c3282192a77b.zip
op-kernel-dev-35e4d8ca05e87d38fb160cb35ba7c3282192a77b.tar.gz
staging: sm750fb: conform to block comment style
Fix 2 checkpatch errors: -Block comments use * on subsequent lines, -Block comments use a trailing */ on a separate line to conform to block commenting style. Signed-off-by: Elizabeth Ferdman <gnudevliz@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/sm750fb/ddk750_swi2c.c')
-rw-r--r--drivers/staging/sm750fb/ddk750_swi2c.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/staging/sm750fb/ddk750_swi2c.c b/drivers/staging/sm750fb/ddk750_swi2c.c
index 6c1ffa1..72a4233 100644
--- a/drivers/staging/sm750fb/ddk750_swi2c.c
+++ b/drivers/staging/sm750fb/ddk750_swi2c.c
@@ -89,12 +89,12 @@ static void sw_i2c_wait(void)
* always be non-zero,which makes the while loop
* never finish.
* use non-ultimate for loop below is safe
- * */
+ */
/* Change wait algorithm to use PCI bus clock,
- it's more reliable than counter loop ..
- write 0x61 to 0x3ce and read from 0x3cf
- */
+ * it's more reliable than counter loop ..
+ * write 0x61 to 0x3ce and read from 0x3cf
+ */
int i, tmp;
for (i = 0; i < 600; i++) {
@@ -501,8 +501,8 @@ long sm750_sw_i2c_write_reg(
sw_i2c_start();
/* Send the device address and read the data. All should return success
- in order for the writing processed to be successful
- */
+ * in order for the writing processed to be successful
+ */
if ((sw_i2c_write_byte(addr) != 0) ||
(sw_i2c_write_byte(reg) != 0) ||
(sw_i2c_write_byte(data) != 0)) {
OpenPOWER on IntegriCloud