1-wire cleanups

Signed-off-by: Joakim Gebart <joakim.gebart@eistec.se>