08 Nov, 2014
1 commit
-
We have a central copy of the GPL for that. Some addresses were already
outdated.Signed-off-by: Wolfram Sang
13 Mar, 2014
1 commit
-
Don't use DEFINE_PCI_DEVICE_TABLE macro, because this macro
is not preferred.Signed-off-by: Jingoo Han
Signed-off-by: Wolfram Sang
25 Jan, 2014
1 commit
-
None of these files are actually using any __init type directives
and hence don't need to include . Most are just a
left over from __devinit and __cpuinit removal, or simply due to
code getting copied from one driver to the next.Signed-off-by: Paul Gortmaker
Acked-by: Jean Delvare
Signed-off-by: Wolfram Sang
23 Dec, 2012
1 commit
-
CONFIG_HOTPLUG is going away as an option. As result the __dev*
markings will be going away.Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst,
and __devexit.Signed-off-by: Bill Pemberton
Acked-by: Peter Korsgaard (for ocores and mux-gpio)
Acked-by: Havard Skinnemoen (for i2c-gpio)
Acked-by: Guan Xuetao (for puf3)
Acked-by: Barry Song (for sirf)
Reviewed-by: Jean Delvare
[wsa: Fixed "foo* bar" flaws while we are here]
Signed-off-by: Wolfram Sang
24 Jul, 2012
1 commit
-
Convert the drivers in drivers/i2c/busses/* to usemodule_pci_driver()
macro which makes the code smaller and a bit simpler.Signed-off-by: Axel Lin
Acked-by: Wolfram Sang
Signed-off-by: Jean Delvare
Cc: Rudolf Marek
Cc: Olof Johansson
Cc: "Mark M. Hoffman"
Cc: Tomoya MORINAGA
13 Jan, 2012
1 commit
-
Convert static struct pci_device_id *[] to static DEFINE_PCI_DEVICE_TABLE
tables.Use DEFINE_PCI_DEVICE_TABLE ensures we make the pci_device_id table const
and marked as __devinitconst.This also fixes some warnings from checkpatch:
e.g.
WARNING: Use DEFINE_PCI_DEVICE_TABLE for struct pci_device_id
#1096: FILE: i2c/busses/i2c-intel-mid.c:1096:
+static struct pci_device_id intel_mid_i2c_ids[] = {Signed-off-by: Axel Lin
Cc: Rudolf Marek
Cc: Ben Dooks
Acked-by: Olof Johansson
Cc: "Mark M. Hoffman"
Acked-by: Dirk Brandewie
Cc: Tomoya MORINAGA
Acked-by: Wolfram Sang
Cc: Feng Tang
Cc: Sebastian Andrzej Siewior
Signed-off-by: Jean Delvare
22 May, 2010
1 commit
-
As warned by checkpatch.pl, should be used instead of
.Signed-off-by: H Hartley Sweeten
Signed-off-by: Jean Delvare
02 Mar, 2010
1 commit
-
The id_table field of the struct pci_driver is constant in
so it is worth to make initialization data also constant.The semantic match that finds this kind of pattern is as follows:
(http://coccinelle.lip6.fr/)//
@r@
disable decl_init,const_decl_init;
identifier I1, I2, x;
@@
struct I1 {
...
const struct I2 *x;
...
};
@s@
identifier r.I1, y;
identifier r.x, E;
@@
struct I1 y = {
.x = E,
};
@c@
identifier r.I2;
identifier s.E;
@@
const struct I2 E[] = ... ;
@depends on !c@
identifier r.I2;
identifier s.E;
@@
+ const
struct I2 E[] = ...;
//Signed-off-by: Márton Németh
Cc: Julia Lawall
Signed-off-by: Jean Delvare
27 Jan, 2009
1 commit
-
Signed-off-by: Jean Delvare
15 Jul, 2008
2 commits
-
Signed-off-by: Jean Delvare
-
Let general purpose I2C/SMBus bus drivers add SPD to their class. Once
this is done, we will be able to tell the eeprom driver to only probe
for SPD EEPROMs and similar on these buses.Note that I took a conservative approach here, adding I2C_CLASS_SPD to
many drivers that have no idea whether they can host SPD EEPROMs or not.
This is to make sure that the eeprom driver doesn't stop probing buses
where SPD EEPROMs or equivalent live.So, bus driver maintainers and users should feel free to remove the SPD
class from drivers those buses never have SPD EEPROMs or they don't
want the eeprom driver to bind to them. Likewise, feel free to add the
SPD class to any bus driver I might have missed.Signed-off-by: Jean Delvare
20 Oct, 2007
1 commit
-
* Convert files to UTF-8.
* Also correct some people's names
(one example is Eißfeldt, which was found in a source file.
Given that the author used an ß at all in a source file
indicates that the real name has in fact a 'ß' and not an 'ss',
which is commonly used as a substitute for 'ß' when limited to
7bit.)* Correct town names (Goettingen -> Göttingen)
* Update Eberhard Mönkeberg's address (http://lkml.org/lkml/2007/1/8/313)
Signed-off-by: Jan Engelhardt
Signed-off-by: Adrian Bunk
18 Feb, 2007
1 commit
-
Globally, s/driverfs/sysfs/g.
Signed-off-by: Robert P. J. Day
Signed-off-by: Adrian Bunk
14 Feb, 2007
1 commit
-
IDs have been defined but not used by most of the I2C adapters.
By having a unique ID, clients can check for correct connection
during probe.Signed-off-by: Stephen Hemminger
Signed-off-by: Jean Delvare
11 Dec, 2006
1 commit
-
They are all only calling i2c_del_adapter, so we may as well do
it directly.Signed-off-by: Jean Delvare
27 Sep, 2006
1 commit
-
i2c-algo-bit: Discard the mdelay data struct member
The i2c_algo_bit_data structure has an mdelay member, which is not
used by the algorithm code (the code has always been ifdef'd out.)
Let's discard it to save some code and memory.Signed-off-by: Jean Delvare
Acked-by: Mauro Carvalho Chehab
Cc: Adrian Bunk
Signed-off-by: Greg Kroah-Hartman
11 Nov, 2005
1 commit
-
Signed-off-by: Greg Kroah-Hartman
29 Oct, 2005
3 commits
-
This patch updates .owner field for various struct pci_driver variables.
Signed-off-by: Laurent Riffard
Signed-off-by: Jean Delvare
Signed-off-by: Greg Kroah-Hartman -
Clean up name string usage in 12 i2c bus drivers:
* Use the i2c_adapter name for requesting the I/O region rather than
redefining a new string.
* Do not initialize the i2c_adapter name to "unset".
This should save a few data bytes here and there.Signed-off-by: Jean Delvare
Signed-off-by: Greg Kroah-Hartmandrivers/i2c/busses/i2c-ali1535.c | 6 +++---
drivers/i2c/busses/i2c-ali1563.c | 6 ++++--
drivers/i2c/busses/i2c-ali15x3.c | 5 +++--
drivers/i2c/busses/i2c-amd756.c | 5 ++---
drivers/i2c/busses/i2c-amd8111.c | 4 +++-
drivers/i2c/busses/i2c-i801.c | 4 ++--
drivers/i2c/busses/i2c-nforce2.c | 4 ++--
drivers/i2c/busses/i2c-piix4.c | 4 ++--
drivers/i2c/busses/i2c-sis5595.c | 5 +++--
drivers/i2c/busses/i2c-sis630.c | 6 ++++--
drivers/i2c/busses/i2c-sis96x.c | 5 +++--
drivers/i2c/busses/i2c-via.c | 4 ++--
12 files changed, 33 insertions(+), 25 deletions(-) -
Kill explicit static initializations to 0 in 10 i2c drivers.
Signed-off-by: Jean Delvare
Signed-off-by: Greg Kroah-Hartmandrivers/i2c/algos/i2c-algo-pca.c | 2 +-
drivers/i2c/algos/i2c-algo-sibyte.c | 2 +-
drivers/i2c/busses/i2c-ali15x3.c | 4 ++--
drivers/i2c/busses/i2c-amd756.c | 2 +-
drivers/i2c/busses/i2c-iop3xx.c | 2 +-
drivers/i2c/busses/i2c-piix4.c | 8 ++++----
drivers/i2c/busses/i2c-sis5595.c | 4 ++--
drivers/i2c/busses/i2c-sis630.c | 2 +-
drivers/i2c/busses/i2c-sis96x.c | 2 +-
drivers/i2c/busses/i2c-via.c | 2 +-
10 files changed, 15 insertions(+), 15 deletions(-)
22 Jun, 2005
1 commit
-
Files that don't use CONFIG_* stuff shouldn't include config.h
Files that use CONFIG_* stuff should include config.hIt's that simple. ;-)
Signed-off-by: Alexey Dobriyan
Signed-off-by: Greg Kroah-Hartman
17 Apr, 2005
1 commit
-
Initial git repository build. I'm not bothering with the full history,
even though we have it. We can create a separate "historical" git
archive of that later if we want to, and in the meantime it's about
3.2GB when imported into git - space that would just make the early
git days unnecessarily complicated, when we don't have a lot of good
infrastructure for it.Let it rip!