diff options
author | YueHaibing <yuehaibing@huawei.com> | 2019-08-02 15:48:19 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-08-05 17:56:46 +0200 |
commit | b0a523fa9e9d61febb9e817f07b28927190c3c2f (patch) | |
tree | ed9b0a146925dd264697ae3341f102484ad00444 /drivers/w1/w1.c | |
parent | parport: parport_serial: Use dev_get_drvdata (diff) | |
download | linux-b0a523fa9e9d61febb9e817f07b28927190c3c2f.tar.xz linux-b0a523fa9e9d61febb9e817f07b28927190c3c2f.zip |
w1: mxc_w1: use devm_platform_ioremap_resource() to simplify code
Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20190802134819.9088-1-yuehaibing@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/w1/w1.c')
0 files changed, 0 insertions, 0 deletions