]> git.baikalelectronics.ru Git - kernel.git/commit
parisc/dino: use container_of in DINO_DEV
authorChristoph Hellwig <hch@lst.de>
Tue, 29 Jan 2019 18:13:08 +0000 (19:13 +0100)
committerHelge Deller <deller@gmx.de>
Thu, 21 Feb 2019 19:37:12 +0000 (20:37 +0100)
commit1e54e40d9e1d809aa69bbf6fbff554a3d2ca5b6f
tree170d43175586f07d89d536724e35f176566b8fc0
parent76179b6717c4e35e85e87512a3b06c7fc49ba0ee
parisc/dino: use container_of in DINO_DEV

Use the type safe container_of macros instead of a blind cast in
DINO_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/dino.c