]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7be0c6084c8b9661014f9d794c949eb803fd893c
tree93581cfb0f56a23ce990650521bffbd9fb77e178
parente95a86182e2a0c79d65aba2bd36fcb65d5845544
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