OSDN Git Service

Merge branch 'Enable-SFP-on-ACPI-based-systems'
authorDavid S. Miller <davem@davemloft.net>
Thu, 30 May 2019 18:27:47 +0000 (11:27 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 30 May 2019 18:27:47 +0000 (11:27 -0700)
Ruslan Babayev says:

====================
Enable SFP on ACPI based systems

Changes:
v2:
- more descriptive commit body
v3:
- made 'i2c_acpi_find_adapter_by_handle' static inline
v4:
- don't initialize i2c_adapter to NULL. Instead see below...
- handle the case of neither DT nor ACPI present as invalid.
- alphabetical includes.
- use has_acpi_companion().
- use the same argument name in i2c_acpi_find_adapter_by_handle()
  in both stubbed and non-stubbed cases.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>

Trivial merge