lkml.org 
[lkml]   [2021]   [Jan]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v2 01/12] mfd: arizona: Drop arizona-extcon cells
    Date
    The arizona jack-dection handling is being reworked so that the
    codec-child-device drivers directly handle jack-detect themselves,
    so it is no longer necessary to instantiate "arizona-extcon"
    child-devices.

    Signed-off-by: Hans de Goede <hdegoede@redhat.com>
    ---
    drivers/mfd/arizona-core.c | 20 --------------------
    1 file changed, 20 deletions(-)

    diff --git a/drivers/mfd/arizona-core.c b/drivers/mfd/arizona-core.c
    index 75f1bc671d59..ce6fe6de34f8 100644
    --- a/drivers/mfd/arizona-core.c
    +++ b/drivers/mfd/arizona-core.c
    @@ -881,11 +881,6 @@ static const char * const wm5102_supplies[] = {
    static const struct mfd_cell wm5102_devs[] = {
    { .name = "arizona-micsupp" },
    { .name = "arizona-gpio" },
    - {
    - .name = "arizona-extcon",
    - .parent_supplies = wm5102_supplies,
    - .num_parent_supplies = 1, /* We only need MICVDD */
    - },
    { .name = "arizona-haptics" },
    { .name = "arizona-pwm" },
    {
    @@ -898,11 +893,6 @@ static const struct mfd_cell wm5102_devs[] = {
    static const struct mfd_cell wm5110_devs[] = {
    { .name = "arizona-micsupp" },
    { .name = "arizona-gpio" },
    - {
    - .name = "arizona-extcon",
    - .parent_supplies = wm5102_supplies,
    - .num_parent_supplies = 1, /* We only need MICVDD */
    - },
    { .name = "arizona-haptics" },
    { .name = "arizona-pwm" },
    {
    @@ -939,11 +929,6 @@ static const char * const wm8997_supplies[] = {
    static const struct mfd_cell wm8997_devs[] = {
    { .name = "arizona-micsupp" },
    { .name = "arizona-gpio" },
    - {
    - .name = "arizona-extcon",
    - .parent_supplies = wm8997_supplies,
    - .num_parent_supplies = 1, /* We only need MICVDD */
    - },
    { .name = "arizona-haptics" },
    { .name = "arizona-pwm" },
    {
    @@ -956,11 +941,6 @@ static const struct mfd_cell wm8997_devs[] = {
    static const struct mfd_cell wm8998_devs[] = {
    { .name = "arizona-micsupp" },
    { .name = "arizona-gpio" },
    - {
    - .name = "arizona-extcon",
    - .parent_supplies = wm5102_supplies,
    - .num_parent_supplies = 1, /* We only need MICVDD */
    - },
    { .name = "arizona-haptics" },
    { .name = "arizona-pwm" },
    {
    --
    2.28.0
    \
     
     \ /
      Last update: 2021-01-17 17:09    [W:2.365 / U:0.112 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site