ata: pata_samsung_cf: simplify getting .driver_data
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Sun, 21 Oct 2018 19:59:49 +0000 (21:59 +0200)
committerJens Axboe <axboe@kernel.dk>
Fri, 8 Feb 2019 13:45:02 +0000 (06:45 -0700)
commitbdf2466b259fb1676485e587ed286308ab79d970
treeca147da4fc9d839b0edfe77f9f694884fdd38e30
parentbaac9ce1f333260485e9084809e909d3ce6c69dd
ata: pata_samsung_cf: simplify getting .driver_data

We should get 'driver_data' from 'struct device' directly. Going via
platform_device is an unneeded step back and forth.

Acked-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/ata/pata_samsung_cf.c