]> git.baikalelectronics.ru Git - kernel.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)
commitb10e1ecd95756d7d30f870402b6f29fec0d8c58f
tree4c89c5b330e359ff8850afe69a7debc01186b036
parent1e54e40d9e1d809aa69bbf6fbff554a3d2ca5b6f
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