mcb: introduce mcb_get_resource()
authorJohannes Thumshirn <jthumshirn@suse.de>
Wed, 2 Aug 2017 07:58:52 +0000 (09:58 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Aug 2017 18:51:22 +0000 (20:51 +0200)
commit2ce8008711e4837c11e99a94df55406085d0d098
tree361894dfa3ace1606927188629a777e6e5debb83
parent5aabd3b0077e0577f60a1ca6b8bdad62f23353d8
mcb: introduce mcb_get_resource()

Introduce mcb_get_resource() as a common accessor to a mcb device's memory or
IRQ resources.

Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/mcb/mcb-core.c
include/linux/mcb.h