From patchwork Wed Nov 7 12:10:39 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brian Dodge X-Patchwork-Id: 10675457 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 852D2175A for ; Fri, 9 Nov 2018 08:04:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 786302E367 for ; Fri, 9 Nov 2018 08:04:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6C55A2E36F; Fri, 9 Nov 2018 08:04:43 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 1E2E22E367 for ; Fri, 9 Nov 2018 08:04:43 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id C65286E77D; Fri, 9 Nov 2018 08:04:16 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-qt1-x843.google.com (mail-qt1-x843.google.com [IPv6:2607:f8b0:4864:20::843]) by gabe.freedesktop.org (Postfix) with ESMTPS id 110C46E154 for ; Wed, 7 Nov 2018 12:11:01 +0000 (UTC) Received: by mail-qt1-x843.google.com with SMTP id p17so6265558qtl.5 for ; Wed, 07 Nov 2018 04:11:01 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=F5Xj40w4kHbnMqUigFmhWslpGRkJ+e4z3lXmNJrIyww=; b=bGAJV2OuZ/yfqSfbN1KVFuRI2K2WPVgQT4I3qxzJjQByOhaCMJL0xPp4sCvRCSSHJB 9Zggn+Vm7zlJKfSjy4WoXiFFpFk5OpYrDpXTlQqz9I3vC3Nzy9hr3p6I4TtsWCO3H6he 1pVK0OXjNVUsEWUphzE4DC0A5iK4HVjS2ECdCtDhBTTEJ7Xuw8v7EOHQCUBJ1Ppk3lMg QUJQjOO9l3gVzacOWO7Jy+hHqHWW35BFbVd2BZLzgI6cEpMoDqGXXEfvtZYY6KOEqgPa msO4vXXXnR5RuiDjSnJYzMeC7QkFq2s5TUrFlecvNfVwN+4FRWwE1U7FGiBwIIN9W3AI rusw== X-Gm-Message-State: AGRZ1gLkkLHxVQif9ILL2P3YdUyz27zzTY4ROf5x9KtVjoq0Zrrl6uvP 6Suwem8SAZgxVrU1c5UQGUU= X-Google-Smtp-Source: AJdET5dE8bEIlvFysBocrr6NABhok6GzOHK/Q17RNsMXe5fJbFNJ1AW7Kyk4x0RuLdDdrKq2vwatvw== X-Received: by 2002:aed:3622:: with SMTP id e31mr1343180qtb.5.1541592660188; Wed, 07 Nov 2018 04:11:00 -0800 (PST) Received: from bdodge-linux-ub.fios-router.home (pool-108-49-248-83.bstnma.fios.verizon.net. [108.49.248.83]) by smtp.gmail.com with ESMTPSA id 53-v6sm257490qtw.52.2018.11.07.04.10.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 07 Nov 2018 04:10:59 -0800 (PST) From: Brian Dodge To: lee.jones@linaro.org, daniel.thompson@linaro.org, jingoohan1@gmail.com, jacek.anaszewski@gmail.com, pavel@ucw.cz, robh+dt@kernel.org, mark.rutland@arm.com, dri-devel@lists.freedesktop.org, linux-leds@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH 2/3] backlight/arcxcnn fix vendor prefix Date: Wed, 7 Nov 2018 07:10:39 -0500 Message-Id: <1541592640-18478-3-git-send-email-bdodge09@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1541592640-18478-1-git-send-email-bdodge09@gmail.com> References: <1541592640-18478-1-git-send-email-bdodge09@gmail.com> X-Mailman-Approved-At: Fri, 09 Nov 2018 08:04:14 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Brian Dodge MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP The vendor-prefixes.txt file properly refers to ArcticSand as arctic but the driver improperly abbreviated the prefix to arc. This was a mistake in the original patch Signed-off-by: Brian Dodge --- drivers/video/backlight/arcxcnn_bl.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) -- 2.7.4 diff --git a/drivers/video/backlight/arcxcnn_bl.c b/drivers/video/backlight/arcxcnn_bl.c index dec790d..bebefc6 100644 --- a/drivers/video/backlight/arcxcnn_bl.c +++ b/drivers/video/backlight/arcxcnn_bl.c @@ -1,8 +1,8 @@ /* - * Backlight driver for ArcticSand ARC_X_C_0N_0N Devices + * Backlight driver for pSemi (formerly ArcticSand) ARC_X_C_0N_0N Devices * - * Copyright 2016 ArcticSand, Inc. - * Author : Brian Dodge + * Copyright 2018 pSemi, Inc. + * Author : Brian Dodge * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 @@ -202,27 +202,27 @@ static void arcxcnn_parse_dt(struct arcxcnn *lp) if (ret == 0) lp->pdata->initial_brightness = prog_val; - ret = of_property_read_u32(node, "arc,led-config-0", &prog_val); + ret = of_property_read_u32(node, "arctic,led-config-0", &prog_val); if (ret == 0) lp->pdata->led_config_0 = (u8)prog_val; - ret = of_property_read_u32(node, "arc,led-config-1", &prog_val); + ret = of_property_read_u32(node, "arctic,led-config-1", &prog_val); if (ret == 0) lp->pdata->led_config_1 = (u8)prog_val; - ret = of_property_read_u32(node, "arc,dim-freq", &prog_val); + ret = of_property_read_u32(node, "arctic,dim-freq", &prog_val); if (ret == 0) lp->pdata->dim_freq = (u8)prog_val; - ret = of_property_read_u32(node, "arc,comp-config", &prog_val); + ret = of_property_read_u32(node, "arctic,comp-config", &prog_val); if (ret == 0) lp->pdata->comp_config = (u8)prog_val; - ret = of_property_read_u32(node, "arc,filter-config", &prog_val); + ret = of_property_read_u32(node, "arctic,filter-config", &prog_val); if (ret == 0) lp->pdata->filter_config = (u8)prog_val; - ret = of_property_read_u32(node, "arc,trim-config", &prog_val); + ret = of_property_read_u32(node, "arctic,trim-config", &prog_val); if (ret == 0) lp->pdata->trim_config = (u8)prog_val; @@ -392,7 +392,7 @@ static int arcxcnn_remove(struct i2c_client *cl) } static const struct of_device_id arcxcnn_dt_ids[] = { - { .compatible = "arc,arc2c0608" }, + { .compatible = "arctic,arc2c0608" }, { } }; MODULE_DEVICE_TABLE(of, arcxcnn_dt_ids); @@ -415,5 +415,5 @@ static struct i2c_driver arcxcnn_driver = { module_i2c_driver(arcxcnn_driver); MODULE_LICENSE("GPL v2"); -MODULE_AUTHOR("Brian Dodge "); +MODULE_AUTHOR("Brian Dodge "); MODULE_DESCRIPTION("ARCXCNN Backlight driver");