char: xillybus: remove direct dependency on DT functions
authorRob Herring <robh@kernel.org>
Thu, 4 Jan 2018 22:45:39 +0000 (16:45 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 9 Jan 2018 16:59:49 +0000 (17:59 +0100)
commit74d83a5d747ad22f33927ffd2c77f237fda2e878
treeed40e3aa66242063cae66c53646fbfeff99212d3
parente940c10875b2398a85670130b8b12bd8ff54eb4c
char: xillybus: remove direct dependency on DT functions

Drivers generally should not need to depend directly on OF_ADDRESS or
OF_IRQ. Convert xillybus to use the preferred platform_get_resource() and
platform_get_irq() functions to remove this dependency.

Cc: Eli Billauer <eli.billauer@gmail.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/char/xillybus/Kconfig
drivers/char/xillybus/xillybus_of.c