05 Jun, 2019

1 commit

  • Based on 1 normalized pattern(s):

    this software is licensed under the terms of the gnu general public
    license version 2 as published by the free software foundation and
    may be copied distributed and modified under those terms this
    program is distributed in the hope that it will be useful but
    without any warranty without even the implied warranty of
    merchantability or fitness for a particular purpose see the gnu
    general public license for more details

    extracted by the scancode license scanner the SPDX license identifier

    GPL-2.0-only

    has been chosen to replace the boilerplate/reference in 285 file(s).

    Signed-off-by: Thomas Gleixner
    Reviewed-by: Alexios Zavras
    Reviewed-by: Allison Randal
    Cc: linux-spdx@vger.kernel.org
    Link: https://lkml.kernel.org/r/20190529141900.642774971@linutronix.de
    Signed-off-by: Greg Kroah-Hartman

    Thomas Gleixner
     

05 Apr, 2019

1 commit


16 Aug, 2017

1 commit

  • The extcon files explains the detailed operation for functions and
    what is meaning of extcon structure. There are different explanation
    even if the same argument.

    So, it modifies the description for both functions and structures
    in order to improve the readability and guide the role of functions
    more well.

    Also, this patch fixes the mismatching license info as a GPL v2
    and removes the inactive author information.

    Signed-off-by: Chanwoo Choi

    Chanwoo Choi
     

04 Apr, 2017

1 commit

  • The extcon core already provides the extcon_register_notifier() function
    in order to register the notifier block which is used to monitor
    the state change for the specific external connector such as EXTCON_USB,
    EXTCON_USB_HOST and so on. The extcon consumer uses the this function.

    The extcon consumer might need to monitor the all supported external
    connectors from the extcon device. In this case, The extcon consumer
    should have each notifier_block structure for each external connector.

    This patch adds the new extcon_register_notifier_all() function
    that extcon consumer is able to monitor the state change of all
    supported external connectors by using only one notifier_block structure.

    - List of new added functions:
    int extcon_register_notifier_all(struct extcon_dev *edev,
    struct notifier_block *nb);
    int extcon_unregister_notifier_all(struct extcon_dev *edev,
    struct notifier_block *nb);
    int devm_extcon_register_notifier_all(struct device *dev,
    struct extcon_dev *edev, struct notifier_block *nb);
    void devm_extcon_unregister_notifier_all(struct device *dev,
    struct extcon_dev *edev, struct notifier_block *nb);

    Suggested-by: Hans de Goede
    Signed-off-by: Chanwoo Choi
    Tested-by: Hans de Goede
    Acked-by: Hans de Goede

    Chanwoo Choi
     

09 Jan, 2017

1 commit


27 Jun, 2016

2 commits