Message ID | 20191002124042.25593-5-dmurphy@ti.com |
---|---|
State | Accepted |
Commit | 4b83cf07d7a4ae70eae2e49086515cad0f42c629 |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp707057ill; Wed, 2 Oct 2019 05:42:26 -0700 (PDT) X-Google-Smtp-Source: APXvYqx9Qu2IqZSYJn+3UuaKHlNr48FC8TWemMtsZK6cnm4nQNooQclFVMcV9jcoAUUmzbQ7IlgM X-Received: by 2002:a50:ef02:: with SMTP id m2mr3542902eds.157.1570020015835; Wed, 02 Oct 2019 05:40:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570020015; cv=none; d=google.com; s=arc-20160816; b=bATG1EkI/RJFO66FKdbxjSCoZw/43kFn7FXTHkRjY40/z67vpnPiYdKPrZooBWslyA Us6oIcaQi4sGEzlUhOGDE6RlthshqNRCgD+SfvfxuRbklFD3t2q1kP0f+YmFcpGyGnIY SagjIFYoyxGKxnJGxfpV07WAvUklls1wCs7pQngiQuvVIb2ZTvqpDsBf0eCMijeXR/ES GcYdPS+iuJeGqPgNMpymx9Zko9d1cae4y0BRSnIa4KxAYYe6d/C5400uQvnrgvOCoPqE vIT5nefHvvxGBEhH8qm/uOjxDi+AZwd27kxFtv5uh5Ku7Uu7jSM4iY9YdxaIR4+GncWu ASZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=dkmFEQUZc03Vkc8FS2ObjTj3FAgduHGfTpnaLbtgfac=; b=i01DixnbxFM447veqd7QFr36nAypet7IsIuImGHihjf8J2HIuaqJC0TFnjvmMQuYfi QphMj3anuyOX5M2alxqiL/H3ZGdVs9RDmLDEckwTeG6mtPMd2XsJhOxNjnpgkOROAiiB n6TEbJ8IOqkqg0TtbqvKHqWyr8TuQ0wsojWt9fucy70MfPwkm+dA8/9sowOFDr7wBuHN aGvUFzPjyNtTwFfD9PQ1ODX+0HUfXisn27i6uvZfN2zZJdPxmzsnsfoi6oVB4sc9iadw rKtgmYKRjNf+BeKovBil0ns5Odk1vT44OfKf6O62N9Qog6d+Mz3cdxISBeI1sgpeNWtO MX+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=xW2stUqf; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: <linux-kernel-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r5si10437748edo.14.2019.10.02.05.40.15; Wed, 02 Oct 2019 05:40:15 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=xW2stUqf; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727431AbfJBMkL (ORCPT <rfc822;lee.jones@linaro.org> + 27 others); Wed, 2 Oct 2019 08:40:11 -0400 Received: from lelv0142.ext.ti.com ([198.47.23.249]:54006 "EHLO lelv0142.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727178AbfJBMkI (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 2 Oct 2019 08:40:08 -0400 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id x92Ce5ih014742; Wed, 2 Oct 2019 07:40:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1570020005; bh=dkmFEQUZc03Vkc8FS2ObjTj3FAgduHGfTpnaLbtgfac=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=xW2stUqfGpSlD32dyqxV/tt3Aj8CrWcRCBMW7urDeNJFIOPVXF+ECtodvccrzV7L2 4eOcDKMJoBkLuB3zx9d3z1EpfIe4Gccgpyn/4ejpjbgCw1wBEAKFjRp78r92Vr2g9F KMBGxoPh+YD0eN3nE1sgerHnlQglib/UA6MMKIPs= Received: from DFLE108.ent.ti.com (dfle108.ent.ti.com [10.64.6.29]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x92Ce40P117296 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 2 Oct 2019 07:40:04 -0500 Received: from DFLE103.ent.ti.com (10.64.6.24) by DFLE108.ent.ti.com (10.64.6.29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Wed, 2 Oct 2019 07:39:54 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DFLE103.ent.ti.com (10.64.6.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5 via Frontend Transport; Wed, 2 Oct 2019 07:40:04 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id x92Ce48C002060; Wed, 2 Oct 2019 07:40:04 -0500 From: Dan Murphy <dmurphy@ti.com> To: <jacek.anaszewski@gmail.com>, <pavel@ucw.cz> CC: <linux-leds@vger.kernel.org>, <linux-kernel@vger.kernel.org>, Dan Murphy <dmurphy@ti.com> Subject: [PATCH v2 5/6] leds: core: Fix devm_classdev_match to reference correct structure Date: Wed, 2 Oct 2019 07:40:41 -0500 Message-ID: <20191002124042.25593-5-dmurphy@ti.com> X-Mailer: git-send-email 2.22.0.214.g8dca754b1e In-Reply-To: <20191002124042.25593-1-dmurphy@ti.com> References: <20191002124042.25593-1-dmurphy@ti.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org |
Series |
[v2,1/6] leds: flash: Remove extern from the header file
|
expand
|
diff --git a/drivers/leds/led-class.c b/drivers/leds/led-class.c index 3f04334d59ee..438774315e6c 100644 --- a/drivers/leds/led-class.c +++ b/drivers/leds/led-class.c @@ -403,7 +403,7 @@ EXPORT_SYMBOL_GPL(devm_led_classdev_register_ext); static int devm_led_classdev_match(struct device *dev, void *res, void *data) { - struct led_cdev **p = res; + struct led_classdev **p = res; if (WARN_ON(!p || !*p)) return 0;
Fix the devm_classdev_match pointer initilization to the correct structure type. Signed-off-by: Dan Murphy <dmurphy@ti.com> --- drivers/leds/led-class.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.22.0.214.g8dca754b1e