• Jenny TC's avatar
    extcon : register for cable interest by cable name · 4f2de3bf
    Jenny TC authored
    There are some scnearios where a driver/framework needs to register
    interest for a particular cable without specifying the extcon device
    name. One such scenario is charger notifications. The platform will
    have charger cabel which will be bound to any extcon device. It's
    not mandatory for the charger driver to know which extcon device
    it should use. This patch enables the support for registering
    interest for a cable just by cable name wihtout specifying the
    extcon device name
    Signed-off-by: default avatarJenny TC <jenny.tc@intel.com>
    Signed-off-by: default avatarMyungJoo Ham <myungjoo.ham@samsung.com>
    Tested-by: default avatarChanwoo Choi <cw00.choi@samsung.com>
    
    --
    Kernel-doc comment added by MyungJoo Ham
    4f2de3bf
extcon-class.c 23.1 KB