20 Oct, 2014
1 commit
-
A platform_driver does not need to set an owner, it will be populated by the
driver core.Signed-off-by: Wolfram Sang
17 Jul, 2014
1 commit
-
[linux-3.16-rc5/drivers/ata/pata_ep93xx.c:929]: (style) Checking if unsigned
variable 'irq' is less than zero.Source code is
irq = platform_get_irq(pdev, 0);
if (irq < 0) {but
unsigned int irq;
$ fgrep platform_get_irq `find . -name \*.h -print`
./include/linux/platform_device.h:extern int platform_get_irq(struct
platform_device *, unsigned int);Now using "int" type instead of "unsigned int" for "irq" variable.
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=80401
Reported-by: David Binderman
Signed-off-by: Andrey Utkin
Signed-off-by: Tejun Heo
27 May, 2014
1 commit
-
it is better to use generic api instead of calling an internal callback
like channel->device->device_prep_slave_sg().Signed-off-by: Barry Song
Signed-off-by: Tejun Heo
14 Feb, 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.Cc: linux-ide@vger.kernel.org
Signed-off-by: Paul Gortmaker
Signed-off-by: Tejun Heo
12 May, 2013
1 commit
-
devm_ioremap_resource does sanity checks on the given resource. No need to
duplicate this in the driver.Signed-off-by: Wolfram Sang
26 Jan, 2013
1 commit
-
Convert all uses of devm_request_and_ioremap() to the newly introduced
devm_ioremap_resource() which provides more consistent error handling.Signed-off-by: Thierry Reding
Cc: Jeff Garzik
Signed-off-by: Greg Kroah-Hartman
04 Jan, 2013
1 commit
-
CONFIG_HOTPLUG is going away as an option. As a result, the __dev*
markings need to be removed.This change removes the use of __devinit, __devexit_p, __devinitdata,
and __devexit from these drivers.Based on patches originally written by Bill Pemberton, but redone by me
in order to handle some of the coding style issues better, by hand.Cc: Bill Pemberton
Cc: Jeff Garzik
Cc: Viresh Kumar
Signed-off-by: Greg Kroah-Hartman
14 Dec, 2012
1 commit
-
Using ata__() instead of ata__printk().
Signed-off-by: Wei Yongjun
Signed-off-by: Jeff Garzik
14 Sep, 2012
1 commit
-
Platform data for device drivers should be defined in
include/linux/platform_data/*.h, not in the architecture
and platform specific directories.This moves such data out of the ep93xx include directories
Signed-off-by: Arnd Bergmann
Acked-by: Mark Brown
Acked-by: Greg Kroah-Hartman
Acked-by: Nicolas Pitre
Acked-by: Hartley Sweeten
Acked-by: Ryan Mallon
Acked-by: Vinod Koul
Cc: Grant Likely
Cc: Jeff Garzik
Cc: Dan Williams
Cc: Dmitry Torokhov
Cc: Florian Tobias Schandinat
Cc: Liam Girdwood
Cc: Jaroslav Kysela
Cc: Takashi Iwai
Cc: Mika Westerberg
Cc: Axel Lin
23 May, 2012
1 commit
-
Add PATA host controller driver for ep93xx.
Signed-off-by: Rafal Prylowski
Cc: Joao Ramos
Cc: H Hartley Sweeten
Cc: Ryan Mallon
Cc: Sergei Shtylyov
Cc: Bartlomiej Zolnierkiewicz
Signed-off-by: Jeff Garzik