Commits
![YueHaibing](https://secure.gravatar.com/avatar/99fadc7a66f85bd5c0262cb31d311d89.jpg?s=96&d=mm)
YueHaibing committed bfc7af6d6df
spi: bcm2835aux: remove unneeded NULL check of devm_clk_get Fix a static code checker warning: drivers/spi/spi-bcm2835aux.c:460 bcm2835aux_spi_probe() warn: passing zero to 'PTR_ERR' In case of error, the function devm_clk_get() returns ERR_PTR() and not returns NULL. Signed-off-by: YueHaibing <yuehaibing@huawei.com> Signed-off-by: Mark Brown <broonie@kernel.org>