ds1wm: should check for IS_ERR(clk) instead of NULL