From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Garrett Subject: Re: [PATCH] acer-wmi: make dmi_matched to return 1 instead of 0 Date: Thu, 1 Jul 2010 14:53:34 +0100 Message-ID: <20100701135334.GE31804@srcf.ucam.org> References: <1277875936.22265.2.camel@mola> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from cavan.codon.org.uk ([93.93.128.6]:54662 "EHLO cavan.codon.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756054Ab0GANxo (ORCPT ); Thu, 1 Jul 2010 09:53:44 -0400 Content-Disposition: inline In-Reply-To: <1277875936.22265.2.camel@mola> Sender: platform-driver-x86-owner@vger.kernel.org List-ID: To: Axel Lin Cc: linux-kernel , Carlos Corbacho , Len Brown , Thomas Renninger , platform-driver-x86@vger.kernel.org On Wed, Jun 30, 2010 at 01:32:16PM +0800, Axel Lin wrote: > dmi_check_system() walks the table running matching functions until someone > returns non zero or we hit the end. > > This patch makes dmi_matched to return 1 so dmi_check_system() return > immediately when a match is found. > > Signed-off-by: Axel Lin Applied, thanks. -- Matthew Garrett | mjg59@srcf.ucam.org