summaryrefslogtreecommitdiffstats
path: root/drivers/w1/masters/mxc_w1.c
diff options
context:
space:
mode:
authorBill Pemberton <wfp5p@virginia.edu>2012-11-19 13:21:43 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-11-21 12:42:25 -0800
commit479e2bcecdf19ae44940d38248a3e2f9fd8f2c44 (patch)
tree5183647870f52e80b8142b5c363013760f59cda1 /drivers/w1/masters/mxc_w1.c
parentf91a66c97b38a504827803bb93f83a7b85e50e5a (diff)
downloadop-kernel-dev-479e2bcecdf19ae44940d38248a3e2f9fd8f2c44.zip
op-kernel-dev-479e2bcecdf19ae44940d38248a3e2f9fd8f2c44.tar.gz
w1: remove use of __devinit
CONFIG_HOTPLUG is going away as an option so __devinit is no longer needed. Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Cc: Evgeniy Polyakov <zbr@ioremap.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/w1/masters/mxc_w1.c')
-rw-r--r--drivers/w1/masters/mxc_w1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/w1/masters/mxc_w1.c b/drivers/w1/masters/mxc_w1.c
index 53f89fa..23d3917 100644
--- a/drivers/w1/masters/mxc_w1.c
+++ b/drivers/w1/masters/mxc_w1.c
@@ -103,7 +103,7 @@ static u8 mxc_w1_ds2_touch_bit(void *data, u8 bit)
return ((__raw_readb(ctrl_addr)) >> 3) & 0x1;
}
-static int __devinit mxc_w1_probe(struct platform_device *pdev)
+static int mxc_w1_probe(struct platform_device *pdev)
{
struct mxc_w1_device *mdev;
struct resource *res;
OpenPOWER on IntegriCloud