OSDN Git Service

iio: adc: xilinx: Check for return values in clk related functions
authorManish Narani <manish.narani@xilinx.com>
Mon, 23 Jul 2018 15:02:00 +0000 (20:32 +0530)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 29 Jul 2018 11:46:38 +0000 (12:46 +0100)
commit0a8460966fc28c3c25160c34da055e9a8a0c90a1
treefba08b077cea489641e054bfc8ff962b298e47ea
parentbe38866fbb97f0ee2b144ab1de9ee2833a76e0fb
iio: adc: xilinx: Check for return values in clk related functions

This patch adds check for return values from clock related functions.
This was reported by static code analysis tool.

Signed-off-by: Manish Narani <manish.narani@xilinx.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/xilinx-xadc-core.c