]> asedeno.scripts.mit.edu Git - linux.git/commit
parisc/lba_pci: use container_of in LBA_DEV
authorChristoph Hellwig <hch@lst.de>
Tue, 29 Jan 2019 18:13:09 +0000 (19:13 +0100)
committerHelge Deller <deller@gmx.de>
Thu, 21 Feb 2019 19:37:12 +0000 (20:37 +0100)
commit5007526700a0e13b15ef02c7495786f882d0cc0b
tree4c89c5b330e359ff8850afe69a7debc01186b036
parente2fcabe0ebe0b343b9de53ed0a7a7f2f86eb9863
parisc/lba_pci: use container_of in LBA_DEV

Use the type safe container_of macros instead of a blind cast in
LBA_DEV, and turn the macro into an inline function.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Helge Deller <deller@gmx.de>
drivers/parisc/lba_pci.c