Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp397301imu; Fri, 7 Dec 2018 02:59:24 -0800 (PST) X-Google-Smtp-Source: AFSGD/V9WIj0aVzzm8+7PhpF88bmhqRSjHsTHjpXJitPaD8J7lRUQzVSW9ERPdYxBAoV6f9s8jzz X-Received: by 2002:a63:40c6:: with SMTP id n189mr1450815pga.355.1544180364855; Fri, 07 Dec 2018 02:59:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544180364; cv=none; d=google.com; s=arc-20160816; b=UGQcfXG5MZJebjoPQsa2d2YmNUKhaBclWbrVfD0wOlILRAABlSoGH+n95chT9J+Rqc rgFvKbnOQeyH+XImDlk4CyPlFArRw57qUAgSX29Q6mEkLoAvhtlZ8fqUygDkSHy6gAR3 vIyrJa1+1+9DUS4SnMkB1k/mhKOXpDzJTP1u1im4MzW/BuKbwNAfCg++PfeHIitykglY /wWU2bI4zCSor5BTT9lXxsdYeGpXtWB7GKthl145oWDTiw5zat1l/OhuDvAbjTUM7Vt4 UYRGmqgFIJpJ44QHNAql5sqSbvolEDk1RUIFUAl1Ap2eKesNA5/ohvGzjLtT/mMIE3J8 mkLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=YslIsTGo9qgmfVXiD3oj00yw3ONTqt+QCNQIbkFOgCc=; b=0slIg2WcQxc7spJS3O/ZJfzQWorKU2PoxJcRZyY8iONwQtQzfxsvgj4HXg1fgkzkCt 0rAT+kYujb60DrQemX7CEGwITKufL9513CbuVwqJRpkC2sGou9f+Vv/emBtIpJk1d8pt vOHN4hcwb10ReLxIayvPG8PyX6VnLkSyFSZBmeR9jbxneEl23pvW27pt8Kk6X+LjaS6p FnBOFSANQS3pXUMhLM7UKbmqgrqLfQ7boxy+LqI60HrWDGTQQ8dRwTNMnJT/phxNz6kD +lMt+9eExsdr3ZG09t2wrAdg19Uw3x5T8FoieKyvWDNdzvwyJI7khKYCYp6BQPH2mPW2 H6kw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=jqoHnrlF; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q8si2866857pli.284.2018.12.07.02.59.09; Fri, 07 Dec 2018 02:59:24 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=jqoHnrlF; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726104AbeLGK63 (ORCPT + 99 others); Fri, 7 Dec 2018 05:58:29 -0500 Received: from mail-lj1-f196.google.com ([209.85.208.196]:39313 "EHLO mail-lj1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726080AbeLGK61 (ORCPT ); Fri, 7 Dec 2018 05:58:27 -0500 Received: by mail-lj1-f196.google.com with SMTP id t9-v6so3173516ljh.6; Fri, 07 Dec 2018 02:58:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=YslIsTGo9qgmfVXiD3oj00yw3ONTqt+QCNQIbkFOgCc=; b=jqoHnrlFDLed7nsJxaEpkoMtsWhS6Co2usNe6DIeZpXBhQcX1DJCl8nw6c4QKbzzZr XMGyS/0W4hjeIaZSF7FNBeEi6TL0N+Pex1nD/MsATJVZJCzb3hZBP1WxPaPB42QGBlsr yx2kdJWqR/ylz85Oh/eOO0ctcR6cAulf4OYnK0huwEU3QC5CptuF0s3Np8KOYJEOa9mb K2VtPgs5udNzWGWVqYENMFYOV+r1nFVeDdLC8Jr9iA7gUpW32oIbKU4UYC/didIO4tL/ jCG2znXIX+6YoowL6UzkK35tnrYOqUv8iJa3JySl9o6+i0jL2Y3Sco5WJ13mFIkqBZ1A Px2Q== 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:mime-version:content-transfer-encoding; bh=YslIsTGo9qgmfVXiD3oj00yw3ONTqt+QCNQIbkFOgCc=; b=VYmtRIqYsTFP92AJ7vcynXDhWRr/Qwa1YQJ9ISrOfI0WLLh1EMNj8puE1gtu9XX5Yp Q8idA2RYCqXsVJChPqDxIm0Cwld/TGbP/fwZNLJwjllduh9jkvq6mM0+OwBb/kGzzaQk uC9vWpCvUZD1NqacKl1VNbVdNiz8RFj6rElnnVlQUfLhNKmvUvOx4HNA/Q7GnqSPnp7/ 6w64K6RqSraM+1Puf5143bxgKYSoYe7Yw/9cQRE2q8V4BAw8DYUFWSYm9nF1PDB2DVVU wvz2Bn7t6FKQnqdAU6aTh9leqx+4VMD7KWUG6YGtDH7mAmgJCFieinz0mJdgEo0GoqiI SVxw== X-Gm-Message-State: AA+aEWZl8shTNcWoxNYXmGRXoloXG1UplK5sazZXDkx4v/PUnvGND85/ mLeOflkOkuMcIDc3O75Cys8= X-Received: by 2002:a2e:9655:: with SMTP id z21-v6mr1171955ljh.136.1544180303904; Fri, 07 Dec 2018 02:58:23 -0800 (PST) Received: from localhost.localdomain ([2a02:a315:5445:5300:74d5:51ba:2673:f3f4]) by smtp.googlemail.com with ESMTPSA id a20-v6sm523362ljf.28.2018.12.07.02.58.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 07 Dec 2018 02:58:23 -0800 (PST) From: =?UTF-8?q?Pawe=C5=82=20Chmiel?= To: dmitry.torokhov@gmail.com, robh+dt@kernel.org, mark.rutland@arm.com Cc: devicetree@vger.kernel.org, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, pawel.mikolaj.chmiel@gmail.com, xc-racer2@live.ca, simon@lineageos.org Subject: [PATCH 3/8] Input: tm2-touchkey: Use predefined device name Date: Fri, 7 Dec 2018 11:58:06 +0100 Message-Id: <20181207105811.1831-4-pawel.mikolaj.chmiel@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181207105811.1831-1-pawel.mikolaj.chmiel@gmail.com> References: <20181207105811.1831-1-pawel.mikolaj.chmiel@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jonathan Bakker Purely a cosmetic fix, using the names defined earlier Signed-off-by: Jonathan Bakker Signed-off-by: Paweł Chmiel --- drivers/input/keyboard/tm2-touchkey.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/input/keyboard/tm2-touchkey.c b/drivers/input/keyboard/tm2-touchkey.c index 37a5ced24009..cc713b901bf2 100644 --- a/drivers/input/keyboard/tm2-touchkey.c +++ b/drivers/input/keyboard/tm2-touchkey.c @@ -57,13 +57,13 @@ struct tm2_touchkey_data { }; static struct touchkey_variant tm2_touchkey_variant = { - .name = "tm2-touchkey", + .name = TM2_TOUCHKEY_DEV_NAME, .keycode_reg = 0x03, .base_reg = 0x00, }; static struct touchkey_variant midas_touchkey_variant = { - .name = "midas-touchkey", + .name = MIDAS_TOUCHKEY_DEV_NAME, .keycode_reg = 0x00, .base_reg = 0x00, }; -- 2.17.1