diff options
author | Karol Lewandowski <[email protected]> | 2012-03-27 11:10:28 +0200 |
---|---|---|
committer | Wolfram Sang <[email protected]> | 2012-05-12 14:28:11 +0200 |
commit | 44454baa7ca7bb57c47a5564ed2528ba211fe8db (patch) | |
tree | 590ed2e391c6fdaac6b4add9c36f502371796ede /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | bc414b7b9bbccbdeac80757c03a966578d04a9a2 (diff) |
i2c: Dynamically assign adapter id if it wasn't explictly specified
Commit 488bf314b ("i2c: Allow i2c_add_numbered_adapter() to assign a
bus id") reworked i2c_add_numbered_adapter() to call i2c_add_adapter()
if requested bus was -1.
This allows to simplify driver's initialization procedure by using
just one function for static and dynamic adapter id registration.
This patch updates few more drivers (missed out in original patch)
to use this functionality.
Signed-off-by: Karol Lewandowski <[email protected]>
Signed-off-by: Kyungmin Park <[email protected]>
Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions