iio: adc: xilinx: use helper variable for &pdev->dev
It's more elegant to use a helper local variable to store the address of the underlying struct device than to dereference pdev everywhere. Signed-off-by: NBartosz Golaszewski <bgolaszewski@baylibre.com> Tested-by: NAnand Ashok Dumbre <anandash@xilinx.com> Reviewed-by: NAnand Ashok Dumbre <anandash@xilinx.com> Link: https://lore.kernel.org/r/20201130142759.28216-2-brgl@bgdev.plSigned-off-by: NJonathan Cameron <Jonathan.Cameron@huawei.com>
Showing
想要评论请 注册 或 登录