| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 2015-08-05 | misc: eeprom: clean up eeprom_read() | Vladimir Zapolskiy | 1 | -5/+0 | |
| The change removes redundant sysfs binary file boundary check, since this task is already done on caller side in fs/sysfs/file.c Signed-off-by: Vladimir Zapolskiy <[email protected]> Reviewed-by: Jean Delvare <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]> | |||||
| 2014-09-23 | EEPROM: Introduce the use of devm_kzalloc | Himangi Saraogi | 1 | -17/+6 | |
| This patch introduces the use of devm_kzalloc and does away with the kfrees in the probe and remove functions. Also, a label and the err variable are removed. The header device.h is included to make the devm_ function explicitly available and slab.h is done away with as it is no longer needed. Signed-off-by: Himangi Saraogi <[email protected]> Acked-by: Julia Lawall <[email protected]> Reviewed-by: Jean Delvare <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]> | |||||
| 2014-02-07 | drivers/misc: delete non-required instances of include <linux/init.h> | Paul Gortmaker | 1 | -1/+0 | |
| None of these files are actually using any __init type directives and hence don't need to include <linux/init.h>. Most are just a left over from __devinit and __cpuinit removal, or simply due to code getting copied from one driver to the next. Cc: Arnd Bergmann <[email protected]> Cc: Greg Kroah-Hartman <[email protected]> Signed-off-by: Paul Gortmaker <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]> | |||||
| 2014-01-29 | Update Jean Delvare's e-mail address | Jean Delvare | 1 | -1/+1 | |
| Signed-off-by: Jean Delvare <[email protected]> | |||||
| 2012-01-24 | MISC: convert drivers/misc/* to use module_i2c_driver() | Axel Lin | 1 | -13/+1 | |
| This patch converts the drivers in drivers/misc/* to use the module_i2c_driver() macro which makes the code smaller and a bit simpler. Signed-off-by: Axel Lin <[email protected]> Cc: Michael Hennerich <[email protected]> Cc: Anantha Narayanan <[email protected]> Cc: Hemanth V <[email protected]> Cc: Christoph Mair <[email protected]> Cc: Grant Likely <[email protected]> Cc: Ben Gardner <[email protected]> Cc: Minkyu Kang <[email protected]> Cc: Kalhan Trisal <[email protected]> Cc: Darrick J. Wong <[email protected]> Cc: Daniel Mack <[email protected]> Cc: Rodolfo Giometti <[email protected]> Acked-by: Arnd Bergmann <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]> | |||||
| 2010-05-21 | sysfs: add struct file* to bin_attr callbacks | Chris Wright | 1 | -1/+2 | |
| This allows bin_attr->read,write,mmap callbacks to check file specific data (such as inode owner) as part of any privilege validation. Signed-off-by: Chris Wright <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]> | |||||
| 2010-05-14 | EEPROM: Header file cleanup | Arce, Abraham | 1 | -20/+16 | |
| Change eeprom.c header file to format as in conventions Signed-off-by: Abraham Arce <[email protected]> Acked-by: Jean Delvare <[email protected]> Acked-by: Wolfram Sang <[email protected]> Signed-off-by: Jiri Kosina <[email protected]> | |||||
| 2009-12-14 | i2c: Drop I2C_CLIENT_INSMOD_1 | Jean Delvare | 1 | -3/+0 | |
| This macro simply declares an enum, so drivers might as well declare it themselves. Signed-off-by: Jean Delvare <[email protected]> Tested-by: Wolfram Sang <[email protected]> | |||||
| 2009-12-14 | i2c: Get rid of struct i2c_client_address_data | Jean Delvare | 1 | -1/+1 | |
| Struct i2c_client_address_data only contains one field at this point, which makes its usefulness questionable. Get rid of it and pass simple address lists around instead. Signed-off-by: Jean Delvare <[email protected]> Tested-by: Wolfram Sang <[email protected]> | |||||
| 2009-12-14 | i2c: Drop the kind parameter from detect callbacks | Jean Delvare | 1 | -2/+1 | |
| The "kind" parameter always has value -1, and nobody is using it any longer, so we can remove it. Signed-off-by: Jean Delvare <[email protected]> Tested-by: Wolfram Sang <[email protected]> | |||||
| 2009-01-26 | i2c: Move old eeprom driver to /drivers/misc/eeprom | Wolfram Sang | 1 | -0/+257 | |
| Update Kconfig text to specify this driver as I2C. Signed-off-by: Wolfram Sang <[email protected]> Signed-off-by: Jean Delvare <[email protected]> | |||||