Return-path: Received: from esgaroth.petrovitsch.at ([78.47.184.11]:4739 "EHLO esgaroth.petrovitsch.priv.at" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752634Ab1DGKd4 (ORCPT ); Thu, 7 Apr 2011 06:33:56 -0400 Subject: Re: [PATCH] rfkill: Regulator consumer driver for rfkill From: Bernd Petrovitsch To: Johannes Berg Cc: Paul Bolle , Mark Brown , Antonio Ospite , linux-wireless@vger.kernel.org, openezx-devel@lists.openezx.org, "John W . Linville" , Liam Girdwood , linux-kernel@vger.kernel.org, Marek Vasut , Guiming Zhuo In-Reply-To: <1302170978.3779.0.camel@jlt3.sipsolutions.net> References: <1302081679-812-1-git-send-email-ospite@studenti.unina.it> <20110406141131.GC2810@opensource.wolfsonmicro.com> <1302099669.4090.1.camel@jlt3.sipsolutions.net> <1302113542.22852.7.camel@x61.thuisdomein> <1302115597.4090.11.camel@jlt3.sipsolutions.net> <1302170472.21251.9.camel@thorin> <1302170978.3779.0.camel@jlt3.sipsolutions.net> Content-Type: text/plain; charset="UTF-8" Date: Thu, 07 Apr 2011 12:33:37 +0200 Message-ID: <1302172417.21251.48.camel@thorin> Mime-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org List-ID: On Don, 2011-04-07 at 12:09 +0200, Johannes Berg wrote: > On Thu, 2011-04-07 at 12:01 +0200, Bernd Petrovitsch wrote: > > On Mit, 2011-04-06 at 20:46 +0200, Johannes Berg wrote: > > > On Wed, 2011-04-06 at 20:12 +0200, Paul Bolle wrote: > > [...] > > > > But doesn't > > > > depends on RFKILL || !RFKILL > > > > > > > > always evaluate to true when running "make *config"? (Even if RFKILL is > > > > an unknown symbol when that expression is parsed!) > > > > > > No, it will not, you're forgetting that these things are tristate. > > > > Boolean operators for tristate logic isn't intuitive at all IMHO. > > *shrug*. You're free to propose patches to the kconfig system to make it > more intuitive. :-) FullACK;-) But no intuitive tristate logic operators come to my mind (otherwise I would have mentioned them above). And there are more logic implications in "depends on RFKILL". Hmm, I have to think more about it .... Bernd -- Bernd Petrovitsch Email : bernd@petrovitsch.priv.at LUGA : http://www.luga.at