Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[PATCH] staging: et131x: et1310_eeprom.c coding style fixes.

0 views
Skip to first unread message

Lars Lindley

unread,
Apr 10, 2010, 3:10:02 AM4/10/10
to
I fixed indentation in one place and two long lines.

Signed-off-by: Lars Lindley <lin...@coyote.org>
---
drivers/staging/et131x/et1310_eeprom.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/et131x/et1310_eeprom.c b/drivers/staging/et131x/et1310_eeprom.c
index e4d095b..5a8e6b9 100644
--- a/drivers/staging/et131x/et1310_eeprom.c
+++ b/drivers/staging/et131x/et1310_eeprom.c
@@ -302,7 +302,7 @@ static int eeprom_read(struct et131x_adapter *etdev, u32 addr, u8 *pdata)
err = eeprom_wait_ready(pdev, NULL);
if (err)
return err;
- /*
+ /*
* Write to the LBCIF Control Register: bit 7=1, bit 6=0, bit 3=0,
* and bits 1:0 both =0. Bit 5 should be set according to the type
* of EEPROM being accessed (1=two byte addressing, 0=one byte
@@ -383,9 +383,9 @@ int et131x_init_eeprom(struct et131x_adapter *etdev)

/* This error could mean that there was an error
* reading the eeprom or that the eeprom doesn't exist.
- * We will treat each case the same and not try to gather
- * additional information that normally would come from the
- * eeprom, like MAC Address
+ * We will treat each case the same and not try to
+ * gather additional information that normally would
+ * come from the eeprom, like MAC Address
*/
etdev->has_eeprom = 0;
return -EIO;
--
1.7.0.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majo...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

Greg KH

unread,
Apr 30, 2010, 1:30:03 PM4/30/10
to
On Sat, Apr 10, 2010 at 09:04:02AM +0200, Lars Lindley wrote:
> I fixed indentation in one place and two long lines.
>
> Signed-off-by: Lars Lindley <lin...@coyote.org>
> ---
> drivers/staging/et131x/et1310_eeprom.c | 8 ++++----

This was already done by someone else, sorry :(

greg k-h

0 new messages