Re: [PATCH 11/22] gpio: xilinx: Use platform_driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Jul 21, 2018 at 4:28 PM Hedges Alexander
<ahedges@xxxxxxxxxxxxxxx> wrote:

> From: Michal Simek <michal.simek@xxxxxxxxxx>
> Date: Tue, 3 Sep 2013 17:06:19 +0200
>
> Register driver as platform driver.
> Based on this change, probe function uses devm_
> which clear incorrect kfree(chip) usage.
>
> Signed-off-by: Michal Simek <michal.simek@xxxxxxxxxx>
> Signed-off-by: Alexander Hedges <ahedges@xxxxxxx>
> (cherry picked from commit 616ac116ab2dcfe603c67ea3c8f70d5889aa6fc9)

This patch does not make the driver us platform driver.
It is already doing that.

Reword to match what it does: make driver use managed
resources.

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux