[PATCH 7/7] clk: qcom: Return error pointers for unimplemented clocks

2014-05-16 Thread Stephen Boyd
Not all clocks are implemented but client drivers can still request them. Currently we will return a NULL pointer to them if the clock isn't implemented in software but NULL pointers are valid clock pointers. Return an error pointer so that driver's don't proceed without a clock they may actually

[PATCH 7/7] clk: qcom: Return error pointers for unimplemented clocks

2014-05-16 Thread Stephen Boyd
Not all clocks are implemented but client drivers can still request them. Currently we will return a NULL pointer to them if the clock isn't implemented in software but NULL pointers are valid clock pointers. Return an error pointer so that driver's don't proceed without a clock they may actually