Title: [8881] trunk/drivers/regulator/ad5398.c: LKML feedback: Mike thinks any Linux developer should be a smart guy.
Revision
8881
Author
sonicz
Date
2010-06-02 06:30:50 -0400 (Wed, 02 Jun 2010)

Log Message

LKML feedback: Mike thinks any Linux developer should be a smart guy.

Modified Paths

Diff

Modified: trunk/drivers/regulator/ad5398.c (8880 => 8881)


--- trunk/drivers/regulator/ad5398.c	2010-06-02 10:25:05 UTC (rev 8880)
+++ trunk/drivers/regulator/ad5398.c	2010-06-02 10:30:50 UTC (rev 8881)
@@ -197,12 +197,11 @@
 	int current_offset;
 };
 
-static const struct ad5398_current_data_format ad5398_df = {10, 4};
-static const struct ad5398_current_data_format ad5821_df = {10, 4};
+static const struct ad5398_current_data_format df_10_4 = {10, 4};
 
 static const struct i2c_device_id ad5398_id[] = {
-	{ "ad5398", (kernel_ulong_t)&ad5398_df },
-	{ "ad5821", (kernel_ulong_t)&ad5821_df },
+	{ "ad5398", (kernel_ulong_t)&df_10_4 },
+	{ "ad5821", (kernel_ulong_t)&df_10_4 },
 	{ }
 };
 MODULE_DEVICE_TABLE(i2c, ad5398_id);
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits

Reply via email to