diff options
author | Jesper Nilsson <jesper.nilsson@axis.com> | 2008-01-17 08:44:00 -0500 |
---|---|---|
committer | Jesper Nilsson <jesper.nilsson@axis.com> | 2008-02-08 05:06:29 -0500 |
commit | 3d6c03fc223e6ed3b7cb4cf850a7da4a376d02d3 (patch) | |
tree | 62c6cdf83dd4838eeb3f2f9c2a666fa6e7921284 /arch/cris | |
parent | d207cf5bb91351e58b55d02f54a0218a0d8e3736 (diff) |
CRIS v10: Cleanup drivers/eeprom.c to avoid import conflicts.
- Remove useless CVS log and CVS id tags.
- Whitespace fix and remove C++ comment.
Diffstat (limited to 'arch/cris')
-rw-r--r-- | arch/cris/arch-v10/drivers/eeprom.c | 75 |
1 files changed, 2 insertions, 73 deletions
diff --git a/arch/cris/arch-v10/drivers/eeprom.c b/arch/cris/arch-v10/drivers/eeprom.c index be35a70798aa..f1cac9dc75b8 100644 --- a/arch/cris/arch-v10/drivers/eeprom.c +++ b/arch/cris/arch-v10/drivers/eeprom.c | |||
@@ -19,77 +19,6 @@ | |||
19 | *! Sep 03 1999 Edgar Iglesias Added bail-out stuff if we get interrupted | 19 | *! Sep 03 1999 Edgar Iglesias Added bail-out stuff if we get interrupted |
20 | *! in the spin-lock. | 20 | *! in the spin-lock. |
21 | *! | 21 | *! |
22 | *! $Log: eeprom.c,v $ | ||
23 | *! Revision 1.12 2005/06/19 17:06:46 starvik | ||
24 | *! Merge of Linux 2.6.12. | ||
25 | *! | ||
26 | *! Revision 1.11 2005/01/26 07:14:46 starvik | ||
27 | *! Applied diff from kernel janitors (Nish Aravamudan). | ||
28 | *! | ||
29 | *! Revision 1.10 2003/09/11 07:29:48 starvik | ||
30 | *! Merge of Linux 2.6.0-test5 | ||
31 | *! | ||
32 | *! Revision 1.9 2003/07/04 08:27:37 starvik | ||
33 | *! Merge of Linux 2.5.74 | ||
34 | *! | ||
35 | *! Revision 1.8 2003/04/09 05:20:47 starvik | ||
36 | *! Merge of Linux 2.5.67 | ||
37 | *! | ||
38 | *! Revision 1.6 2003/02/10 07:19:28 starvik | ||
39 | *! Removed misplaced ; | ||
40 | *! | ||
41 | *! Revision 1.5 2002/12/11 13:13:57 starvik | ||
42 | *! Added arch/ to v10 specific includes | ||
43 | *! Added fix from Linux 2.4 in serial.c (flush_to_flip_buffer) | ||
44 | *! | ||
45 | *! Revision 1.4 2002/11/20 11:56:10 starvik | ||
46 | *! Merge of Linux 2.5.48 | ||
47 | *! | ||
48 | *! Revision 1.3 2002/11/18 13:16:06 starvik | ||
49 | *! Linux 2.5 port of latest 2.4 drivers | ||
50 | *! | ||
51 | *! Revision 1.8 2001/06/15 13:24:29 jonashg | ||
52 | *! * Added verification of pointers from userspace in read and write. | ||
53 | *! * Made busy counter volatile. | ||
54 | *! * Added define for initial write delay. | ||
55 | *! * Removed warnings by using loff_t instead of unsigned long. | ||
56 | *! | ||
57 | *! Revision 1.7 2001/06/14 15:26:54 jonashg | ||
58 | *! Removed test because condition is always true. | ||
59 | *! | ||
60 | *! Revision 1.6 2001/06/14 15:18:20 jonashg | ||
61 | *! Kb -> kB (makes quite a difference if you don't know if you have 2k or 16k). | ||
62 | *! | ||
63 | *! Revision 1.5 2001/06/14 14:39:51 jonashg | ||
64 | *! Forgot to use name when registering the driver. | ||
65 | *! | ||
66 | *! Revision 1.4 2001/06/14 14:35:47 jonashg | ||
67 | *! * Gave driver a name and used it in printk's. | ||
68 | *! * Cleanup. | ||
69 | *! | ||
70 | *! Revision 1.3 2001/03/19 16:04:46 markusl | ||
71 | *! Fixed init of fops struct | ||
72 | *! | ||
73 | *! Revision 1.2 2001/03/19 10:35:07 markusl | ||
74 | *! 2.4 port of eeprom driver | ||
75 | *! | ||
76 | *! Revision 1.8 2000/05/18 10:42:25 edgar | ||
77 | *! Make sure to end write cycle on _every_ write | ||
78 | *! | ||
79 | *! Revision 1.7 2000/01/17 17:41:01 johana | ||
80 | *! Adjusted probing and return -ENOSPC when writing outside EEPROM | ||
81 | *! | ||
82 | *! Revision 1.6 2000/01/17 15:50:36 johana | ||
83 | *! Added adaptive timing adjustments and fixed autoprobing for 2k and 16k(?) | ||
84 | *! EEPROMs | ||
85 | *! | ||
86 | *! Revision 1.5 1999/09/03 15:07:37 edgar | ||
87 | *! Added bail-out check to the spinlock | ||
88 | *! | ||
89 | *! Revision 1.4 1999/09/03 12:11:17 bjornw | ||
90 | *! Proper atomicity (need to use spinlocks, not if's). users -> busy. | ||
91 | *! | ||
92 | *! | ||
93 | *! (c) 1999 Axis Communications AB, Lund, Sweden | 22 | *! (c) 1999 Axis Communications AB, Lund, Sweden |
94 | *!*****************************************************************************/ | 23 | *!*****************************************************************************/ |
95 | 24 | ||
@@ -103,10 +32,10 @@ | |||
103 | #include <asm/uaccess.h> | 32 | #include <asm/uaccess.h> |
104 | #include "i2c.h" | 33 | #include "i2c.h" |
105 | 34 | ||
106 | #define D(x) | 35 | #define D(x) |
107 | 36 | ||
108 | /* If we should use adaptive timing or not: */ | 37 | /* If we should use adaptive timing or not: */ |
109 | //#define EEPROM_ADAPTIVE_TIMING | 38 | /* #define EEPROM_ADAPTIVE_TIMING */ |
110 | 39 | ||
111 | #define EEPROM_MAJOR_NR 122 /* use a LOCAL/EXPERIMENTAL major for now */ | 40 | #define EEPROM_MAJOR_NR 122 /* use a LOCAL/EXPERIMENTAL major for now */ |
112 | #define EEPROM_MINOR_NR 0 | 41 | #define EEPROM_MINOR_NR 0 |