Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
i2c: slave: improve sanity check when registering
Add check for ERR_PTR and simplify code while here. Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Reviewed-by: Alain Volmat <alain.volmat@st.com> Signed-off-by: Wolfram Sang <wsa@kernel.org>
- Loading branch information