diff options
author | Pratap Nirujogi <pratap.nirujogi@amd.com> | 2025-06-09 11:53:55 -0400 |
---|---|---|
committer | Andi Shyti <andi.shyti@kernel.org> | 2025-06-25 23:38:29 +0200 |
commit | 942e1aece13e4007656e41d3182c0adf05cf08b8 (patch) | |
tree | 3efdcd2a7ccc3ee1eab94306baeea258261f0fff /scripts/lib/kdoc/kdoc_parser.py | |
parent | cbdb25ccf7566eee0c2b945e35cb98baf9ed0aa6 (diff) |
i2c: designware: Initialize adapter name only when not set
Check if the adapter name is already set in the driver prior to
initializing with generic name in i2c_dw_probe_master(). This
check allows to retain the unique adapter name driver has
initialized, which platform driver can use to distinguish it
from other i2c designware adapters.
Tested-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Pratap Nirujogi <pratap.nirujogi@amd.com>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Link: https://lore.kernel.org/r/20250609155601.1477055-2-pratap.nirujogi@amd.com
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions