commit | 614c61a6514e05a4bb0cd8989159f986da132215 | [log] [tgz] |
---|---|---|
author | Linus Walleij <linus.walleij@linaro.org> | Wed Dec 05 09:49:11 2018 +0100 |
committer | Jens Axboe <axboe@kernel.dk> | Wed Dec 05 06:01:14 2018 -0700 |
tree | c1faf2f450332927360ddd1b77b7ebb5768d9f70 | |
parent | f43e4b007a943b00a7562025ed036a9c1ee2950f [diff] |
ata: palmld: Introduce state container This creates a state container struct for the Palm LifeDrive ATA controller, and puts the ATA host and the two GPIO descriptors into this container. This avoids using a singleton so potentially multiple PATA interfaces can be instantiated. Suggested-by: Marek Vasut <marek.vasut@gmail.com> Reviewed-by: Marek Vasut <marek.vasut@gmail.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Jens Axboe <axboe@kernel.dk>