From patchwork Sat Aug 31 07:50:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Liao Chen X-Patchwork-Id: 13785971 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7A411CD1293 for ; Sat, 31 Aug 2024 08:00:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type: Content-Transfer-Encoding:MIME-Version:Message-ID:Date:Subject:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=DIx6Nk0YEDSUUcpBRvgzRgnu3NgZdthV7fCVSnifRKI=; b=J7PFL5uGOJ0j3+X3ZfaGCz0teF K2B1QRkrqYT4mK+qaAh2EUCCi81qh5sAmeZ0KZQngeV/p5suqEPOob3a3m8vEWnZ3+P2xiW8eqeef iLZ+gG8yxGHAHV6xyiwp+Y7wHJ54h8To/0JgyZobscE+QZfHZsXPN852T8wFcVV+QXMU8SkHIcnBe vDuRil4ah/os5+Le9TXGkWJqjyBqWbWOWg9gtAT2aAFQYKy4PxWBy0q6nR8BpKis/l250Mb2oodSN If4VZTFQXTz0D2HjYKzzqEvK3cnnHSOR7qzaWv0Nh0O/GV8DUsI5oui/NEUfCM+o6NBCkSiFt73R6 H1Xq3/cA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1skJ20-00000008u0k-1z0S; Sat, 31 Aug 2024 08:00:24 +0000 Received: from szxga05-in.huawei.com ([45.249.212.191]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1skJ14-00000008tqA-2LL2 for linux-arm-kernel@lists.infradead.org; Sat, 31 Aug 2024 07:59:29 +0000 Received: from mail.maildlp.com (unknown [172.19.163.44]) by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4WwnTh4yhQz1j7Y6; Sat, 31 Aug 2024 15:59:04 +0800 (CST) Received: from dggpemm500020.china.huawei.com (unknown [7.185.36.49]) by mail.maildlp.com (Postfix) with ESMTPS id 8AB031400D7; Sat, 31 Aug 2024 15:59:19 +0800 (CST) Received: from huawei.com (10.67.174.77) by dggpemm500020.china.huawei.com (7.185.36.49) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Sat, 31 Aug 2024 15:59:19 +0800 From: Liao Chen To: , , Subject: [PATCH -next 0/2] pwm: atmel-hlcdc: workaround Date: Sat, 31 Aug 2024 07:50:57 +0000 Message-ID: <20240831075059.790861-1-liaochen4@huawei.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Originating-IP: [10.67.174.77] X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) To dggpemm500020.china.huawei.com (7.185.36.49) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240831_005927_451795_16E38187 X-CRM114-Status: UNSURE ( 7.48 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: alexandre.belloni@bootlin.com, liaochen4@huawei.com, ukleinek@kernel.org, claudiu.beznea@tuxon.dev Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi all, This patch enables the autoloading feature of atmel-hlcdc module. By registering MDT, the kernel is allowed to automatically bind modules to devices that match the specified compatible strings. This patch also drops trailing comma from definitions of device table arrays, which makes the code robust against misrebases. Liao Chen (2): pwm: atmel-hlcdc: Enable module autoloading pwm: atmel-hlcdc: Drop trailing comma drivers/pwm/pwm-atmel-hlcdc.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)