drivers/power/ds2780_battery.c: add a nolock function to w1 interface