Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1161097AbXAEODU (ORCPT ); Fri, 5 Jan 2007 09:03:20 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1161099AbXAEODU (ORCPT ); Fri, 5 Jan 2007 09:03:20 -0500 Received: from xdsl-664.zgora.dialog.net.pl ([81.168.226.152]:4588 "EHLO tuxland.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1161097AbXAEODT (ORCPT ); Fri, 5 Jan 2007 09:03:19 -0500 From: Mariusz Kozlowski To: Marcin Juszkiewicz Subject: Re: [PATCH] backlight control for Frontpath ProGear HX1050+ Date: Fri, 5 Jan 2007 15:03:21 +0100 User-Agent: KMail/1.9.5 Cc: linux-kernel@vger.kernel.org, Alan , Richard Purdie References: <200701050903.31859.openembedded@hrw.one.pl> <20070105093901.7f2ef1f8@localhost.localdomain> <200701051215.54243.openembedded@hrw.one.pl> In-Reply-To: <200701051215.54243.openembedded@hrw.one.pl> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200701051503.22245.m.kozlowski@tuxland.pl> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 444 Lines: 21 Witam Marcin, Not a big deal. > + if (pmu_dev) > + pci_dev_put(pmu_dev); > + > + if (sb_dev) > + pci_dev_put(sb_dev); pci_dev_put() can handle NULL argument. -- Pozdrawiam, Mariusz Kozlowski - 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/