diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2017-05-30 11:46:43 +0200 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2017-05-30 11:54:37 -0400 |
commit | 7c61a26891dcb938489c6f9ad793491bb9ae3989 (patch) | |
tree | 17c7db5322263d36fcddaa44c60c01d13dcfc909 /drivers/ata/pata_samsung_cf.c | |
parent | 0fe98fa056d75d824d1939dd1e8b71927a5f288a (diff) | |
download | linux-stable-7c61a26891dcb938489c6f9ad793491bb9ae3989.tar.gz linux-stable-7c61a26891dcb938489c6f9ad793491bb9ae3989.tar.bz2 linux-stable-7c61a26891dcb938489c6f9ad793491bb9ae3989.zip |
ata: samsung_cf: cut drvdata assignment
ata_host_alloc_pinfo() assigns the host pointer to the
struct device * drvdata, do not assign it a second time.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'drivers/ata/pata_samsung_cf.c')
-rw-r--r-- | drivers/ata/pata_samsung_cf.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/ata/pata_samsung_cf.c b/drivers/ata/pata_samsung_cf.c index 431c7de30ce6..50801c40b029 100644 --- a/drivers/ata/pata_samsung_cf.c +++ b/drivers/ata/pata_samsung_cf.c @@ -582,8 +582,6 @@ static int __init pata_s3c_probe(struct platform_device *pdev) /* Set endianness and enable the interface */ pata_s3c_hwinit(info, pdata); - platform_set_drvdata(pdev, host); - ret = ata_host_activate(host, info->irq, info->irq ? pata_s3c_irq : NULL, 0, &pata_s3c_sht); |