]> www.infradead.org Git - users/willy/xarray.git/commit
bus: sunxi-rsb: Simplify code with dev_err_probe()
authorZhang Zekun <zhangzekun11@huawei.com>
Thu, 5 Sep 2024 11:41:34 +0000 (19:41 +0800)
committerChen-Yu Tsai <wens@csie.org>
Thu, 5 Sep 2024 15:20:47 +0000 (23:20 +0800)
commit7ad250e13ff8a275ba846fd223288f01f5d3857c
treef4eca577f84c1f7d040978683c4315debf44c672
parent8400291e289ee6b2bf9779ff1c83a291501f017b
bus: sunxi-rsb: Simplify code with dev_err_probe()

Use dev_err_probe() directly in the driver probe phase. This can
simplify the code a bit.

Signed-off-by: Zhang Zekun <zhangzekun11@huawei.com>
Link: https://lore.kernel.org/r/20240905114134.80310-1-zhangzekun11@huawei.com
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
drivers/bus/sunxi-rsb.c