Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3030117imu; Fri, 18 Jan 2019 03:39:08 -0800 (PST) X-Google-Smtp-Source: ALg8bN5ZCFHXrqzMBUIVPB4GF3RP5OCz4v2w3d2ytb6J1p5dLIhGk8akVP6BwOTSzBV+9Wc0gn2J X-Received: by 2002:a62:5fc4:: with SMTP id t187mr19250744pfb.66.1547811548730; Fri, 18 Jan 2019 03:39:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547811548; cv=none; d=google.com; s=arc-20160816; b=OXGcQXMdBJay9SOUSZE9Zd5jAkySn7buVOM21+56xJnQlKUfNXs/XBN16FdgEVb2Fb ptBP7kPzgXMk62hsAZbANjeWuYsWmJVeq6/k/vqIlt4Cmj+E66j2HazyOPdjErat6Qzu N1zwN5CzZ2Zw8fECh72TuA76BMMvEKh1+rOqOw26/doA5bdksxWCzseRUjuNGdWkY8Wm BdsBUEaoJnG3Isg3ZcGe9IxkdQzfh5NrT770hgOqRdhC9VW53ohVUzoItuRIT4ToH2dN PvWx0zk2hl33DK66WvNxu/oo8JPGsBdxMkK552ByfhkzcrltclfE86IMdq1pZTmaUK63 cT4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from; bh=ofXR+ak1BYqFmFroHB5ElELq5LpAmrcWTxOitX4Zwjs=; b=eOnQ01fgsqU18W/9ebKMLPS3pQlD0WQ0UoFNiWeTkZaHn/17A2bo701lHdDyWcm31g HriN1gpqFexgaBgoS0JYXFqOl38Qu7TDk9HmboDDLUSajVHtMPrVXeTdWuSUVnbpLGRd LP/YPR58/U4Al5z/ogJK2slao1nUj+h54hllIftYHPLWFEncXHiLJEdI46XK0Z8FQnvy kw12HO+uFf3SXjldEy5ZqA3FQ1QKMDfcxIu2PLDPnamzg/ZmdHiHcIhakQSGGYtwuGa3 OcY+xbuAHFO36QGJEmBGf7aiBvomggB4dQnOr3HUwof5n/oWRTRyWhKZKA0wOOAjH8l0 i5Ew== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=cirrus.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s8si4418714pgm.508.2019.01.18.03.38.50; Fri, 18 Jan 2019 03:39:08 -0800 (PST) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=cirrus.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727398AbfARLhJ (ORCPT + 99 others); Fri, 18 Jan 2019 06:37:09 -0500 Received: from mx0a-001ae601.pphosted.com ([67.231.149.25]:36668 "EHLO mx0b-001ae601.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727125AbfARLhI (ORCPT ); Fri, 18 Jan 2019 06:37:08 -0500 Received: from pps.filterd (m0077473.ppops.net [127.0.0.1]) by mx0a-001ae601.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x0IBXtMt006762; Fri, 18 Jan 2019 05:36:40 -0600 Authentication-Results: ppops.net; spf=none smtp.mailfrom=ckeepax@opensource.cirrus.com Received: from mail3.cirrus.com ([87.246.76.56]) by mx0a-001ae601.pphosted.com with ESMTP id 2pyeh4utme-1; Fri, 18 Jan 2019 05:36:40 -0600 Received: from EX17.ad.cirrus.com (ex17.ad.cirrus.com [172.20.9.81]) by mail3.cirrus.com (Postfix) with ESMTP id 34195611C8BA; Fri, 18 Jan 2019 05:36:42 -0600 (CST) Received: from imbe.wolfsonmicro.main (198.61.95.81) by EX17.ad.cirrus.com (172.20.9.81) with Microsoft SMTP Server id 14.3.408.0; Fri, 18 Jan 2019 11:36:39 +0000 Received: from algalon.ad.cirrus.com (algalon.ad.cirrus.com [198.90.251.122]) by imbe.wolfsonmicro.main (8.14.4/8.14.4) with ESMTP id x0IBaVQK030977; Fri, 18 Jan 2019 11:36:31 GMT From: Charles Keepax To: CC: , , Subject: [PATCH 1/2] regulator: lochnagar: Add missing MODULE_DEVICE_TABLE Date: Fri, 18 Jan 2019 11:36:30 +0000 Message-ID: <20190118113631.23706-1-ckeepax@opensource.cirrus.com> X-Mailer: git-send-email 2.11.0 MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=1 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1901180087 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add the missing MODULE_DEVICE_TABLE and remove the comma from the separator on the end of the of_device_id array. Signed-off-by: Charles Keepax --- drivers/regulator/lochnagar-regulator.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/regulator/lochnagar-regulator.c b/drivers/regulator/lochnagar-regulator.c index 818d204105186..4962d13659aab 100644 --- a/drivers/regulator/lochnagar-regulator.c +++ b/drivers/regulator/lochnagar-regulator.c @@ -232,8 +232,9 @@ static const struct of_device_id lochnagar_of_match[] = { .compatible = "cirrus,lochnagar2-vddcore", .data = &lochnagar_regulators[LOCHNAGAR_VDDCORE], }, - {}, + {} }; +MODULE_DEVICE_TABLE(of, lochnagar_of_match); static int lochnagar_regulator_probe(struct platform_device *pdev) { -- 2.11.0