From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751143AbZG3MzO (ORCPT ); Thu, 30 Jul 2009 08:55:14 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750938AbZG3MzN (ORCPT ); Thu, 30 Jul 2009 08:55:13 -0400 Received: from opensource.wolfsonmicro.com ([80.75.67.52]:52107 "EHLO opensource2.wolfsonmicro.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750912AbZG3MzM (ORCPT ); Thu, 30 Jul 2009 08:55:12 -0400 Date: Thu, 30 Jul 2009 13:55:11 +0100 From: Mark Brown To: Roger Quadros Cc: lrg@slimlogic.co.uk, linux-kernel@vger.kernel.org Subject: Re: regulator: adding enable control to fixed regulator interface Message-ID: <20090730125510.GA9265@rakim.wolfsonmicro.main> References: <20090730123633.GA2739@rakim.wolfsonmicro.main> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Cookie: I left my WALLET in the BATHROOM!! User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 30, 2009 at 03:52:55PM +0300, Roger Quadros wrote: > Yes using gpiolib makes sense. In this case we need to obtain GPIO number > and enabling polarity (active high/low) through platform data. Yes, you will need to add to the platform data. I'd just not expect to see any function pointers required.