lkml.org 
[lkml]   [2016]   [Nov]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH v2] gpio: Remove GPIO_DEVRES option
On Tue, Nov 15, 2016 at 11:39 PM, Keno Fischer <keno@juliacomputing.com> wrote:

> This option was added in 6a89a314ab107a12af08c71420c19a37a30fc2d3 to allow use
> of the devm_gpio_* functions without CONFIG_GPIOLIB. However, only a few months
> later in b69ac52449c658b7ac40034dc3c5f5f4a71a723d, CONFIG_GPIOLIB, was added
> as a dependency, defeating the original purpose of this option. Instead of
> that patch, the original commit could have just been reverted (and in fact
> was partially so in 403c1d0be5ccbd750d25c59d8358843a81e52e3b). Further,
> since this option has a dependency on HAS_IOMEM, even though it does not
> require it, it causes build failures when !HAS_IOMEM (e.g. in a uml build).
> Fix that by completely removing the option, in essence completing the
> reversion of the original commit.

I split up this terse commit message a bit and added your
Signed-off-by and applied for fixes.

Yours,
Linus Walleij

\
 
 \ /
  Last update: 2016-11-16 20:50    [W:0.026 / U:1.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site