diff options
| author | 2021-12-30 00:14:25 +0100 | |
|---|---|---|
| committer | 2022-01-05 11:31:18 +0100 | |
| commit | 5eba0141206ea521bbcfcf5067c174e825e943dd (patch) | |
| tree | 1b8463291b166a98504fc654d280a1f41c12f5d8 /drivers/net/netdevsim/git:/ssh:/git@git.zx2c4.com | |
| parent | platform/x86: x86-android-tablets: Add support for PMIC interrupts (diff) | |
| download | linux-dev-5eba0141206ea521bbcfcf5067c174e825e943dd.tar.xz linux-dev-5eba0141206ea521bbcfcf5067c174e825e943dd.zip | |
platform/x86: x86-android-tablets: Add support for instantiating platform-devs
Add support for instantiating platform-devs, note this also makes some
small changes to the i2c_client instantiating code to make the 2 flows
identical.
Specifically for the pdevs flow pdev_count must only be set after
allocating the pdevs array, to avoid a NULL ptr deref in
x86_android_tablet_cleanup() and the i2c_clients flow is updated
to work the same way.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20211229231431.437982-7-hdegoede@redhat.com
Diffstat (limited to 'drivers/net/netdevsim/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
