aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/w1/slaves
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2012-02-18 21:10:00 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-02-24 17:25:50 -0500
commitdf7019f37053bb5357907ec2d1fd516304f38348 (patch)
treec4b243a0f04ef5be3f1ba8d4a408b74a779e796b /drivers/w1/slaves
parentb6c40b8581d5f2c88d18d7905b9ff6ba9956f506 (diff)
w1_bq27000 - remove w1_bq27000_write
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>
Diffstat (limited to 'drivers/w1/slaves')
-rw-r--r--drivers/w1/slaves/w1_bq27000.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/drivers/w1/slaves/w1_bq27000.c b/drivers/w1/slaves/w1_bq27000.c
index 50d9af708b29..6ae60aa1315b 100644
--- a/drivers/w1/slaves/w1_bq27000.c
+++ b/drivers/w1/slaves/w1_bq27000.c
@@ -26,20 +26,6 @@
26 26
27static int F_ID; 27static int F_ID;
28 28
29void w1_bq27000_write(struct device *dev, u8 buf, u8 reg)
30{
31 struct w1_slave *sl = container_of(dev, struct w1_slave, dev);
32
33 if (!dev) {
34 pr_info("Could not obtain slave dev ptr\n");
35 return;
36 }
37
38 w1_write_8(sl->master, HDQ_CMD_WRITE | reg);
39 w1_write_8(sl->master, buf);
40}
41EXPORT_SYMBOL(w1_bq27000_write);
42
43static int w1_bq27000_read(struct device *dev, unsigned int reg) 29static int w1_bq27000_read(struct device *dev, unsigned int reg)
44{ 30{
45 u8 val; 31 u8 val;