提交 df7019f3 编写于 作者: N NeilBrown 提交者: Greg Kroah-Hartman

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: NNeilBrown <neilb@suse.de>
Acked-by: NEvgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 b6c40b85
......@@ -26,20 +26,6 @@
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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册