w1-gpio: Simplify & get rid of defines
authorPantelis Antoniou <panto@antoniou-consulting.com>
Wed, 21 Nov 2012 21:13:47 +0000 (01:13 +0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 Nov 2012 00:16:35 +0000 (16:16 -0800)
commit8a1861d997d698a120401f3c125085679f729d64
tree93581cfb0f56a23ce990650521bffbd9fb77e178
parent277ed0d542778182c863c30bdbd2441dee3f964c
w1-gpio: Simplify & get rid of defines

There's no reason to have the OF defines; it complicates the driver.
There's also no need for the funky platform_driver_probe.

Add a few warnings in case there's a failure; helps us find out
what went wrong.

Signed-off-by: Pantelis Antoniou <panto@antoniou-consulting.com>
Signed-off-by: Evgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/w1/masters/w1-gpio.c