From: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx> On Thu, 29 Aug 2024 21:10:51 +0800, Shen Lichuan wrote: > Use dev_err_probe() to simplify the error path and unify a message > template. > > Using this helper is totally fine even if err is known to never > be -EPROBE_DEFER. > > The benefit compared to a normal dev_err() is the standardized format > of the error code, it being emitted symbolically and the fact that > the error code is returned which allows more compact error paths. > > [...] Applied, thanks! [1/1] gpio: stmpe: Simplify with dev_err_probe() commit: 1882e769362b8e4ef68fd30a05295f5eedf5c54a Best regards, -- Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>