02 Nov, 2017
1 commit
-
Since i2c_unregister_device() became NULL-aware we may remove duplicate
NULL check.Signed-off-by: Andy Shevchenko
Reviewed-by: Jean Delvare
Signed-off-by: Wolfram Sang
17 Aug, 2017
1 commit
-
serio_device_id are not supposed to change at runtime. All functions
working with serio_device_id provided by work with
const serio_device_id. So mark the non-const structs as const.Signed-off-by: Arvind Yadav
Signed-off-by: Wolfram Sang
01 Dec, 2015
1 commit
-
The simple_strtoul function is marked as obsolete.
This patch replace it by kstrtou8.Reviewed-by: Jean Delvare
Tested-by: Jean Delvare
Signed-off-by: LABBE Corentin
Signed-off-by: Wolfram Sang
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
27 Jun, 2014
1 commit
-
Get rid of some boilerplate code by using module_serio_driver().
Signed-off-by: Christoph Jaeger
Reviewed-by: Jean Delvare
Signed-off-by: Wolfram Sang
30 Jan, 2014
1 commit
-
Signed-off-by: Jean Delvare
22 Feb, 2013
1 commit
-
There is simply no reason to be manually setting the private driver
data to NULL in the remove/fail to probe cases. This is just extra
cruft code that can be removed.A few notes:
* Nothing relies on drvdata being set to NULL.
* The __device_release_driver() function eventually calls
dev_set_drvdata(dev, NULL) anyway, so there's no need to do it
twice.
* I verified that there were no cases where xxx_get_drvdata() was
being called in these drivers and checking for / relying on the NULL
return value.This could be cleaned up kernel-wide but for now just take the baby
step and remove from the i2c subsystem.Reported-by: Wolfram Sang
Reported-by: Stephen Warren
Signed-off-by: Doug Anderson
Reviewed-by: Jean Delvare
Acked-by: Peter Korsgaard
Reviewed-by: Mika Westerberg
Reviewed-by: Marek Vasut
Signed-off-by: Wolfram Sang
29 Jun, 2011
1 commit
-
* Print all error and information messages even when debugging is
disabled.
* Don't use adapter device to log messages before it is ready.Signed-off-by: Jean Delvare
Cc: stable@kernel.org
19 Sep, 2009
1 commit
-
When echo is on, we waste time reading back our orders. Switching echo
off makes performance much better: SMBus byte data transactions are 47%
faster and byte transactions are 24% faster.Signed-off-by: Jean Delvare
15 Jul, 2008
1 commit
-
Many PC SMBus host controller drivers don't properly handle the case
where they are requested to achieve a transaction they do not support.
Update them so that the consistently print a warning message and
return a single error value in this case.Signed-off-by: Jean Delvare
30 Apr, 2008
1 commit
-
Based on earlier work by Jon Smirl and Jochen Friedrich.
Update most new-style i2c drivers to use standard module aliasing
instead of the old driver_name/type driver matching scheme. I've
left the video drivers apart (except for SoC camera drivers) as
they're a bit more diffcult to deal with, they'll have their own
patch later.Signed-off-by: Jean Delvare
Cc: Jon Smirl
Cc: Jochen Friedrich
12 Jul, 2007
1 commit
-
This is a new I2C bus driver for the TAOS evaluation modules. Developped
and tested on the TAOS TSL2550 EVM.Signed-off-by: Jean Delvare