lkml.org 
[lkml]   [2023]   [Apr]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 37/43] input: keypad: ep93xx: drop legacy pinctrl
    Date
    Drop legacy acquire/release since we are using
    pinctrl for this now.

    Signed-off-by: Nikita Shubin <nikita.shubin@maquefel.me>
    ---
    drivers/input/keyboard/ep93xx_keypad.c | 16 ----------------
    1 file changed, 16 deletions(-)

    diff --git a/drivers/input/keyboard/ep93xx_keypad.c b/drivers/input/keyboard/ep93xx_keypad.c
    index bf77754fa4c7..a5f5d7d453e7 100644
    --- a/drivers/input/keyboard/ep93xx_keypad.c
    +++ b/drivers/input/keyboard/ep93xx_keypad.c
    @@ -222,13 +222,6 @@ static int ep93xx_keypad_resume(struct device *dev)
    static DEFINE_SIMPLE_DEV_PM_OPS(ep93xx_keypad_pm_ops,
    ep93xx_keypad_suspend, ep93xx_keypad_resume);

    -static void ep93xx_keypad_release_gpio_action(void *_pdev)
    -{
    - struct platform_device *pdev = _pdev;
    -
    - ep93xx_keypad_release_gpio(pdev);
    -}
    -
    static int ep93xx_keypad_probe(struct platform_device *pdev)
    {
    struct ep93xx_keypad *keypad;
    @@ -256,15 +249,6 @@ static int ep93xx_keypad_probe(struct platform_device *pdev)
    if (IS_ERR(keypad->mmio_base))
    return PTR_ERR(keypad->mmio_base);

    - err = ep93xx_keypad_acquire_gpio(pdev);
    - if (err)
    - return err;
    -
    - err = devm_add_action_or_reset(&pdev->dev,
    - ep93xx_keypad_release_gpio_action, pdev);
    - if (err)
    - return err;
    -
    keypad->clk = devm_clk_get(&pdev->dev, NULL);
    if (IS_ERR(keypad->clk))
    return PTR_ERR(keypad->clk);
    --
    2.39.2
    \
     
     \ /
      Last update: 2023-04-24 12:21    [W:5.023 / U:0.036 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site