Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754565AbZAEMEp (ORCPT ); Mon, 5 Jan 2009 07:04:45 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754231AbZAEMEe (ORCPT ); Mon, 5 Jan 2009 07:04:34 -0500 Received: from slimlogic.co.uk ([89.16.172.20]:44844 "EHLO slimlogic.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754223AbZAEMEe (ORCPT ); Mon, 5 Jan 2009 07:04:34 -0500 Subject: Re: [PATCH] regulator: catch some registration errors From: Liam Girdwood To: Mark Brown Cc: linux-kernel@vger.kernel.org, David Brownell In-Reply-To: <1230728059-9392-1-git-send-email-broonie@opensource.wolfsonmicro.com> References: <1230728059-9392-1-git-send-email-broonie@opensource.wolfsonmicro.com> Content-Type: text/plain Date: Mon, 05 Jan 2009 12:04:30 +0000 Message-Id: <1231157070.11643.139.camel@vega.slimlogic.co.uk> Mime-Version: 1.0 X-Mailer: Evolution 2.24.1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 760 Lines: 23 On Wed, 2008-12-31 at 12:54 +0000, Mark Brown wrote: > From: David Brownell > > Prevent registration of duplicate "struct regulator" names. > They'd be unavailable, and clearly indicate something wrong. > > [Edited to remove check for NULL consumer device until we have a > solution for things like cpufreq -- broonie] > > Signed-off-by: David Brownell > Signed-off-by: Mark Brown Applied. Thanks Liam -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/