summaryrefslogtreecommitdiffstats
path: root/net/lapb
diff options
context:
space:
mode:
authorBiju Das <biju.das.jz@bp.renesas.com>2023-12-04 13:45:07 +0100
committerLee Jones <lee@kernel.org>2023-12-07 17:06:30 +0100
commit9b413e3c07d251191410976d669260079b48e7b1 (patch)
tree20c3b031f8a2c9cd88c8b648b0df8c983ef77e31 /net/lapb
parentmfd: syscon: Fix null pointer dereference in of_syscon_register() (diff)
downloadlinux-9b413e3c07d251191410976d669260079b48e7b1.tar.xz
linux-9b413e3c07d251191410976d669260079b48e7b1.zip
mfd: da9062: Simplify obtaining I2C match data
Simplify probe() by replacing of_device_get_match_data() and ID lookup for retrieving match data by i2c_get_match_data(). Some minor cleanups: * Remove the trailing comma in the terminator entry for the ID table making code robust against (theoretical) misrebases or other similar things where the new entry goes _after_ the termination without the compiler noticing. * Move OF table near to the user. Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Link: https://lore.kernel.org/r/20231204124507.124758-1-biju.das.jz@bp.renesas.com Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'net/lapb')
0 files changed, 0 insertions, 0 deletions