]> 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)
commit0396f6ae58d71282a88a3c2b08d256497fd54807
tree4c89c5b330e359ff8850afe69a7debc01186b036
parent98dbe3572fc3de3494e75a464a1453ffbb08ea7f
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