diff options
author | Vincent Cuissard <cuissard@marvell.com> | 2015-11-03 21:19:35 +0300 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2015-11-05 02:32:25 +0300 |
commit | 6f8c53695d6521c36052d39e29ac1e51ef37eba7 (patch) | |
tree | 0d10f7c9c96d9437b2166e33872eb5487fa47363 /drivers/nfc/nfcmrvl/main.c | |
parent | b2fe288eac7247f83b52377b4134ecc5cd856bf2 (diff) | |
download | linux-6f8c53695d6521c36052d39e29ac1e51ef37eba7.tar.xz |
NFC: nfcmrvl: remove unneeded CONFIG_OF switches
Signed-off-by: Vincent Cuissard <cuissard@marvell.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/nfc/nfcmrvl/main.c')
-rw-r--r-- | drivers/nfc/nfcmrvl/main.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/nfc/nfcmrvl/main.c b/drivers/nfc/nfcmrvl/main.c index 743c74c31cf0..51c8240a1672 100644 --- a/drivers/nfc/nfcmrvl/main.c +++ b/drivers/nfc/nfcmrvl/main.c @@ -254,8 +254,6 @@ void nfcmrvl_chip_halt(struct nfcmrvl_private *priv) gpio_set_value(priv->config.reset_n_io, 0); } -#ifdef CONFIG_OF - int nfcmrvl_parse_dt(struct device_node *node, struct nfcmrvl_platform_data *pdata) { @@ -278,16 +276,6 @@ int nfcmrvl_parse_dt(struct device_node *node, return 0; } - -#else - -int nfcmrvl_parse_dt(struct device_node *node, - struct nfcmrvl_platform_data *pdata) -{ - return -ENODEV; -} - -#endif EXPORT_SYMBOL_GPL(nfcmrvl_parse_dt); MODULE_AUTHOR("Marvell International Ltd."); |