From mboxrd@z Thu Jan 1 00:00:00 1970 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=-9.8 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham 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 01645C433E2 for ; Fri, 4 Sep 2020 13:13:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C81292078E for ; Fri, 4 Sep 2020 13:13:49 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=crapouillou.net header.i=@crapouillou.net header.b="BV9Yn1CG" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730453AbgIDNNs (ORCPT ); Fri, 4 Sep 2020 09:13:48 -0400 Received: from crapouillou.net ([89.234.176.41]:53560 "EHLO crapouillou.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730400AbgIDNNW (ORCPT ); Fri, 4 Sep 2020 09:13:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=crapouillou.net; s=mail; t=1599225120; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=8KYnW8DrpG29wj31nUxneF23HgfS2+oqloS8LgQTb+g=; b=BV9Yn1CGiq4UYLRr1WuK84G8qchM5lUV7x39NLguRpEwaLR2RFhEjRu/lHtOLr2eQaVEEC uKJHfTHYdeJC+ppQf4hTZSq5eFrHiC2rWmmguLtbv3QP7k+8EEnhNlkPy7XfHIPv5Bh3iK A4KgdT/bRWpd97Y16jFl5EnlBQDaa+M= From: Paul Cercueil To: Rob Herring Cc: od@zcrc.me, linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Paul Cercueil Subject: [PATCH 3/3] i2c: jz4780: Remove of_match_ptr() Date: Fri, 4 Sep 2020 15:11:52 +0200 Message-Id: <20200904131152.17390-3-paul@crapouillou.net> In-Reply-To: <20200904131152.17390-1-paul@crapouillou.net> References: <20200904131152.17390-1-paul@crapouillou.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org CONFIG_OF is selected by CONFIG_MACH_INGENIC, therefore we don't need to handle the case where Device Tree is not supported. Signed-off-by: Paul Cercueil --- drivers/i2c/busses/i2c-jz4780.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/i2c/busses/i2c-jz4780.c b/drivers/i2c/busses/i2c-jz4780.c index ed2ec86f6f1a..cb4a25ebb890 100644 --- a/drivers/i2c/busses/i2c-jz4780.c +++ b/drivers/i2c/busses/i2c-jz4780.c @@ -857,7 +857,7 @@ static struct platform_driver jz4780_i2c_driver = { .remove = jz4780_i2c_remove, .driver = { .name = "jz4780-i2c", - .of_match_table = of_match_ptr(jz4780_i2c_of_matches), + .of_match_table = jz4780_i2c_of_matches, }, }; -- 2.28.0