projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ata: use platform_{get,set}_drvdata()
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
ata
/
pata_at91.c
diff --git
a/drivers/ata/pata_at91.c
b/drivers/ata/pata_at91.c
index 033f3f4c20adc9def5cca1a683bdd7e08e5a1fa7..5364f97b42c6b9d6fcac4e130d3172913aa7c80a 100644
(file)
--- a/
drivers/ata/pata_at91.c
+++ b/
drivers/ata/pata_at91.c
@@
-422,7
+422,7
@@
err_put:
static int pata_at91_remove(struct platform_device *pdev)
{
- struct ata_host *host =
dev_get_drvdata(&pdev->
dev);
+ struct ata_host *host =
platform_get_drvdata(p
dev);
struct at91_ide_info *info;
if (!host)