[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1483369436.21014.12.camel@sipsolutions.net>
Date: Mon, 02 Jan 2017 16:03:56 +0100
From: Johannes Berg <johannes@...solutions.net>
To: linux-wireless@...r.kernel.org
Cc: netdev@...r.kernel.org, Guiming Zhuo <gmzhuo@...il.com>,
Antonio Ospite <ospite@...denti.unina.it>,
Paul Cercueil <paul@...pouillou.net>,
Rob Herring <robh+dt@...nel.org>,
Maarten ter Huurne <maarten@...ewalker.org>
Subject: Re: [PATCH] rfkill: remove rfkill-regulator
On Mon, 2017-01-02 at 16:01 +0100, Johannes Berg wrote:
> From: Johannes Berg <johannes.berg@...el.com>
>
> There are no users of this ("vrfkill") in the tree, so it's just
> dead code - remove it.
>
> This also isn't really how rfkill is supposed to be used - it's
> intended as a signalling mechanism to/from the device, which the
> driver (and partially cfg80211) will handle - having a separate
> rfkill instance for a regulator is confusing, the driver should
> use the regulator instead to turn off the device when requested.
OTOH, the rfkill-gpio is essentially the same thing, and it *does* get
used - by ACPI even, to control a GPS chip. And I'm not even sure that
there's a clear place to put this since there probably aren't any GPS
drivers?
johannes
Powered by blists - more mailing lists