[PATCH 01/22] clk: check hw and hw->dev before dereference it