Skip to content
Commit bdf2466b authored by Wolfram Sang's avatar Wolfram Sang Committed by Jens Axboe
Browse files

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: default avatarBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Signed-off-by: default avatarWolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent baac9ce1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment