w1_bq27000 - remove w1_bq27000_write
authorNeilBrown <neilb@suse.de>
Sun, 19 Feb 2012 02:10:00 +0000 (13:10 +1100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 24 Feb 2012 22:25:50 +0000 (14:25 -0800)
The function is never used so remove it to avoid bit-rot.
It can trivially be re-added if there is ever a need.

Signed-off-by: NeilBrown <neilb@suse.de>
Acked-by: Evgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/w1/slaves/w1_bq27000.c

index 50d9af708b29d5f563e65d2275d017f8ea9da5b5..6ae60aa1315b17685e27d66e9a4ad9b9e66132b7 100644 (file)
 
 static int F_ID;
 
-void w1_bq27000_write(struct device *dev, u8 buf, u8 reg)
-{
-       struct w1_slave *sl = container_of(dev, struct w1_slave, dev);
-
-       if (!dev) {
-               pr_info("Could not obtain slave dev ptr\n");
-               return;
-       }
-
-       w1_write_8(sl->master, HDQ_CMD_WRITE | reg);
-       w1_write_8(sl->master, buf);
-}
-EXPORT_SYMBOL(w1_bq27000_write);
-
 static int w1_bq27000_read(struct device *dev, unsigned int reg)
 {
        u8 val;