Commit Graph
13 Commits
Author SHA1 Message Date
Thomas Gleixner c82ee6d3be treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 18
Based on 1 normalized pattern(s):

  this program is free software you can redistribute it and or modify
  it under the terms of the gnu general public license as published by
  the free software foundation either version 2 or at your option any
  later version this program is distributed in the hope that it will
  be useful but without any warranty without even the implied warranty
  of merchantability or fitness for a particular purpose see the gnu
  general public license for more details you should have received a
  copy of the gnu general public license along with this program see
  the file copying if not write to the free software foundation 675
  mass ave cambridge ma 02139 usa

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-or-later

has been chosen to replace the boilerplate/reference in 52 file(s).

Signed-off-by: Thomas Gleixner <[email protected]>
Reviewed-by: Jilayne Lovejoy <[email protected]>
Reviewed-by: Steve Winslow <[email protected]>
Reviewed-by: Kate Stewart <[email protected]>
Reviewed-by: Allison Randal <[email protected]>
Cc: [email protected]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2019-05-21 11:28:46 +02:00
Linus Walleij 3e216263ce ata: pxa: Drop <linux/gpio.h> include
This driver does not use GPIO or anything from the GPIO header.
Drop the include.

Signed-off-by: Linus Walleij <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
2018-12-04 17:15:20 -07:00
Robert Jarzmik 273340e8bf ata: pata_pxa: remove the dmaengine compat need
As the pxa architecture switched towards the dmaengine slave map, the
old compatibility mechanism to acquire the dma requestor line number and
priority are not needed anymore.

This patch simplifies the dma resource acquisition, using the more
generic function dma_request_slave_channel().

Signed-off-by: Robert Jarzmik <[email protected]>
Acked-by: Bartlomiej Zolnierkiewicz <[email protected]>
2018-06-18 21:32:07 +02:00
Robert Jarzmik 88622d80af ata: pata_pxa: dmaengine conversion
The PXA architecture was offered a slave dmaengine support. As a
consequence the direct DMA registers are progressively replaced by
dmaengine support.

This makes the pata_pxa change, which brings this driver to almost a
generic ATA 40-wires driver relying on dmaengine for transfers.

Signed-off-by: Robert Jarzmik <[email protected]>
Signed-off-by: Tejun Heo <[email protected]>
2015-09-10 17:02:04 -04:00
Wolfram Sang 65c662ab63 ata: drop owner assignment from platform_drivers
A platform_driver does not need to set an owner, it will be populated by the
driver core.

Signed-off-by: Wolfram Sang <[email protected]>
2014-10-20 16:20:17 +02:00
Paul Gortmaker 1bc1808623 ata: delete non-required instances of include <linux/init.h>
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: [email protected]
Signed-off-by: Paul Gortmaker <[email protected]>
Signed-off-by: Tejun Heo <[email protected]>
2014-02-13 16:40:56 -05:00
Jingoo Han 61b8c345aa ata: use dev_get_platdata()
Use the wrapper function for retrieving the platform data instead of
accessing dev->platform_data directly.

Signed-off-by: Jingoo Han <[email protected]>
Signed-off-by: Tejun Heo <[email protected]>
2013-07-30 08:59:24 -04:00
Jingoo Han d89995db5f ata: use platform_{get,set}_drvdata()
Use the wrapper functions for getting and setting the driver data using
platform_device instead of using dev_{get,set}_drvdata() with &pdev->dev,
so we can directly pass a struct platform_device.

Also, unnecessary dev_set_drvdata() is removed, because the driver core
clears the driver data to NULL after device_release or on probe failure.

Signed-off-by: Jingoo Han <[email protected]>
Signed-off-by: Tejun Heo <[email protected]>
2013-05-24 10:26:13 +09:00
Greg Kroah-Hartman 0ec2491467 Drivers: ata: remove __dev* attributes.
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 <[email protected]>
Cc: Jeff Garzik <[email protected]>
Cc: Viresh Kumar <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2013-01-03 15:57:03 -08:00
Arnd Bergmann 293b2da1b6 ARM: pxa: move platform_data definitions
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 pxa include directories

Signed-off-by: Arnd Bergmann <[email protected]>
Acked-by: Mark Brown <[email protected]>
Acked-by: Greg Kroah-Hartman <[email protected]>
Acked-by: Nicolas Pitre <[email protected]>
Acked-by: Mauro Carvalho Chehab <[email protected]>
Acked-by: Igor Grinberg <[email protected]>
Acked-by: Jeff Garzik <[email protected]>
Acked-by: Marek Vasut <[email protected]>
Acked-by: Robert Jarzmik <[email protected]>
Acked-by: Paul Parsons <[email protected]>
Acked-by: Vinod Koul <[email protected]>
Acked-By: Stefan Schmidt <[email protected]>
Cc: Eric Miao <[email protected]>
Cc: Haojian Zhuang <[email protected]>
Cc: Daniel Ribeiro <[email protected]>
Cc: Harald Welte <[email protected]>
Cc: Philipp Zabel <[email protected]>
Cc: Tomas Cech <[email protected]>
Cc: Sergey Lapin <[email protected]>
Cc: Jonathan Cameron <[email protected]>
Cc: Dan Williams <[email protected]>
Cc: Dmitry Torokhov <[email protected]>
Cc: Chris Ball <[email protected]>
Cc: David Woodhouse <[email protected]>
Cc: Samuel Ortiz <[email protected]>
Cc: Alan Stern <[email protected]>
Cc: Florian Tobias Schandinat <[email protected]>
Cc: Liam Girdwood <[email protected]>
Cc: Jaroslav Kysela <[email protected]>
Cc: Takashi Iwai <[email protected]>
Cc: Guennadi Liakhovetski <[email protected]>
Cc: Artem Bityutskiy <[email protected]>
Cc: [email protected]
2012-09-14 11:18:10 +02:00
Axel Lin 99c8ea3e57 SATA/PATA: convert drivers/ata/* to use module_platform_driver()
This patch converts the drivers in drivers/ata/* to use the
module_platform_driver() macro which makes the code smaller and a bit
simpler.

Cc: Viresh Kumar <[email protected]>
Cc: Jeff Garzik <[email protected]>
Cc: Arnaud Patard <[email protected]>
Cc: Alessandro Zummo <[email protected]>
Cc: Sylvain Munaut <[email protected]>
Cc: Anton Vorontsov <[email protected]>
Cc: Marek Vasut <[email protected]>
Cc: Florian Fainelli <[email protected]>
Cc: Mark Miesfeld <[email protected]>
Cc: Ashish Kalra <[email protected]>
Cc: Paul Mundt <[email protected]>
Signed-off-by: Axel Lin <[email protected]>
Signed-off-by: Jeff Garzik <[email protected]>
2012-01-08 19:14:58 -05:00
Sergei Shtylyov 3696df3099 libata: remove ATA_FLAG_MMIO
Commit 0d5ff56677 (libata: convert to iomap)
removed all checks of ATA_FLAG_MMIO but neglected to remove the flag itself.
Do it now, at last...

Signed-off-by: Sergei Shtylyov <[email protected]>
Signed-off-by: Jeff Garzik <[email protected]>
2011-03-02 02:36:46 -05:00
Marek Vasut 2dc6c6f15d [ARM] pata_pxa: DMA-capable PATA driver
This patch adds a driver for a harddrive attached to PXA address and data bus.
Unlike pata_platform, this driver allows usage of PXA DMA controller, making the
transmission speed 3x higher.

Signed-off-by: Marek Vasut <[email protected]>
Acked-by: Jeff Garzik <[email protected]>
Signed-off-by: Eric Miao <[email protected]>
2010-06-18 15:07:32 +08:00