Update extcon next for v6.6

Detailed description for this pull request:
 - Remove unused deprecated exported function
  : extcon_register_interest/extcon_unregister_interest are replaced with
  extcon_register_notifier/extcon_unregister_notifier.
 
 - Add missing property for extcon max77843 / sm5502 devicectree binding doc
  : max77843 / sm5502 extcon driver uses the 'schemas/connector/usb-connector.yaml'
  for device binding. So add the missing property information.
 
 - Add mising POWER_SUPPLY config depencenty to extcon-intel-cht-wc.c in order to
 remove build error.
 -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEsSpuqBtbWtRe4rLGnM3fLN7rz1MFAmTihL4ACgkQnM3fLN7r
 z1Ma7xAAwKYxU20yGwtZ0XNMZFs2+0VW1hMmXkRa7oiLDoICxHsZ41TIMr6dU3j6
 4MUGsH1Qe3vp3X3yBnEwUXZgv3yf0pDW8L63wFQf3j5bt85y3FtIZnHyD/T4JmO1
 ptCawJSPk9MuTmzNDCoBjDD/KJDZ116R+frufQBie4R0N4Lt+z+mIpxlBKQxAqgY
 tXtxf3D4Ild2wJhzNj2hJlTWWMBIBbt4WZhWLsLnMDIb4THwLJHbrlWKTs7RMvPz
 vS/Cc5lxF758v7fuNBjTZsOAvq5zsttuA3y0kU9IKzd/wzOoi0fjN63WtESvZ6C+
 7k1yXHqEwuaSrERtwXmIlEetauI7uI/CXpjLHhTlnxcp5Vwl5f+gsXdU+Ma8N1eT
 ZFBm4rUri5y+crQQTp2kjWg6Yr9DDrFcjJzTcJB9UAmrO45NIGcq7H/N/f1aX9Sg
 UmlejwToWQI5B2FneHjfHojowWlHPwoe4vnhM1vl53sgWoY5LQznWx0KiquaqtJ6
 WqLNMFAXHk9FRCJnRDskLUBVkzZF388Wz/ZRPBxpFZXvHVhlLO3FyoK4VvpQz+vn
 VV3qxhTt4NanZrvnzIB1s9a8iWdAMTmp/pSahtIgllTrH8bsbfzQ7oJHpDlxGEND
 C5NrMQ/M8hQ/+uZPTL2EunzSNca3eT+mMUwAsVBWEpTPoGKhB9E=
 =76JC
 -----END PGP SIGNATURE-----

Merge tag 'extcon-next-for-6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/chanwoo/extcon into char-misc-next

Chanwoo writes:

Update extcon next for v6.6

Detailed description for this pull request:
- Remove unused deprecated exported function
 : extcon_register_interest/extcon_unregister_interest are replaced with
 extcon_register_notifier/extcon_unregister_notifier.

- Add missing property for extcon max77843 / sm5502 devicectree binding doc
 : max77843 / sm5502 extcon driver uses the 'schemas/connector/usb-connector.yaml'
 for device binding. So add the missing property information.

- Add mising POWER_SUPPLY config depencenty to extcon-intel-cht-wc.c in order to
remove build error.

* tag 'extcon-next-for-6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/chanwoo/extcon:
  extcon: cht_wc: add POWER_SUPPLY dependency
  dt-bindings: extcon: siliconmitus,sm5502-muic: document connector
  dt-bindings: extcon: maxim,max77843: restrict connector properties
  extcon: Remove unused inline functions
This commit is contained in:
Greg Kroah-Hartman 2023-08-22 15:55:48 +02:00
commit 48e3210920
4 changed files with 6 additions and 12 deletions

View File

@ -23,6 +23,7 @@ properties:
connector:
$ref: /schemas/connector/usb-connector.yaml#
unevaluatedProperties: false
ports:
$ref: /schemas/graph.yaml#/properties/ports

View File

@ -27,6 +27,10 @@ properties:
description: I2C slave address of the device. Usually 0x25 for SM5502
and SM5703, 0x14 for SM5504.
connector:
$ref: /schemas/connector/usb-connector.yaml#
unevaluatedProperties: false
interrupts:
maxItems: 1

View File

@ -62,6 +62,7 @@ config EXTCON_INTEL_CHT_WC
tristate "Intel Cherrytrail Whiskey Cove PMIC extcon driver"
depends on INTEL_SOC_PMIC_CHTWC
depends on USB_SUPPORT
depends on POWER_SUPPLY
select USB_ROLE_SWITCH
help
Say Y here to enable extcon support for charger detection / control

View File

@ -328,16 +328,4 @@ struct extcon_specific_cable_nb {
struct extcon_dev *edev;
unsigned long previous_value;
};
static inline int extcon_register_interest(struct extcon_specific_cable_nb *obj,
const char *extcon_name, const char *cable_name,
struct notifier_block *nb)
{
return -EINVAL;
}
static inline int extcon_unregister_interest(struct extcon_specific_cable_nb *obj)
{
return -EINVAL;
}
#endif /* __LINUX_EXTCON_H__ */