From patchwork Tue Apr 28 18:24:49 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg Kroah-Hartman X-Patchwork-Id: 226789 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E3F43C83008 for ; Tue, 28 Apr 2020 18:52:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B9C1A20575 for ; Tue, 28 Apr 2020 18:52:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1588099964; bh=0LXRgx9dNY905NXJb+fja+xE68LrXMDyoQaGNGLQ9zA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=E+W8D6YMvs05foPjGc4hbnLV/Rd4Yo/AnOQQ0FomJtCxfM/feTots259EMkmrcDqa IE+OYTVkNyT2vMFSPMGwJuGOS7755c0Ktsn1Ch0ujUSuf8tavuwbVMQb7lFpmUkTBs Q4W8xMJ5ElsL9491Ih/dH88IOJgKcnBq4QShUVlI= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729797AbgD1Sfx (ORCPT ); Tue, 28 Apr 2020 14:35:53 -0400 Received: from mail.kernel.org ([198.145.29.99]:53164 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730297AbgD1Sfw (ORCPT ); Tue, 28 Apr 2020 14:35:52 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 960A620575; Tue, 28 Apr 2020 18:35:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1588098952; bh=0LXRgx9dNY905NXJb+fja+xE68LrXMDyoQaGNGLQ9zA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ssANW4MwM5YWo2Ano9pIfzUqgp7B5hv/e+uOxqbCGJ4h4+R0dWyTGM3Ih3HFVWfuj NzKL+87ZSnWj4ZBSPtQ4RQrMdED+8pmKc7Aal+xConeYlrqlcyL5COy7rDUfrCztiv GSAwQ1kOdNSfI18WrSRdIMsLQtVCHBu5Zg0dVuDA= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Lars Engebretsen , Stable@vger.kernel.org, Alexandru Ardelean , Jonathan Cameron Subject: [PATCH 4.19 077/131] iio: core: remove extra semi-colon from devm_iio_device_register() macro Date: Tue, 28 Apr 2020 20:24:49 +0200 Message-Id: <20200428182234.608974139@linuxfoundation.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200428182224.822179290@linuxfoundation.org> References: <20200428182224.822179290@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org From: Lars Engebretsen commit a07479147be03d2450376ebaff9ea1a0682f25d6 upstream. This change removes the semi-colon from the devm_iio_device_register() macro which seems to have been added by accident. Fixes: 63b19547cc3d9 ("iio: Use macro magic to avoid manual assign of driver_module") Signed-off-by: Lars Engebretsen Cc: Reviewed-by: Alexandru Ardelean Signed-off-by: Jonathan Cameron Signed-off-by: Greg Kroah-Hartman --- include/linux/iio/iio.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/include/linux/iio/iio.h +++ b/include/linux/iio/iio.h @@ -599,7 +599,7 @@ void iio_device_unregister(struct iio_de * 0 on success, negative error number on failure. */ #define devm_iio_device_register(dev, indio_dev) \ - __devm_iio_device_register((dev), (indio_dev), THIS_MODULE); + __devm_iio_device_register((dev), (indio_dev), THIS_MODULE) int __devm_iio_device_register(struct device *dev, struct iio_dev *indio_dev, struct module *this_mod); void devm_iio_device_unregister(struct device *dev, struct iio_dev *indio_dev);