Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2283068imu; Sat, 8 Dec 2018 20:25:44 -0800 (PST) X-Google-Smtp-Source: AFSGD/X0y1/XrwwtoiPGM/+G8atjNtQzKs4JI8xKBriAZDuIUw5y7iF0+9ozVvDm68xOnADxN9jy X-Received: by 2002:a63:5407:: with SMTP id i7mr6843268pgb.413.1544329544693; Sat, 08 Dec 2018 20:25:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544329544; cv=none; d=google.com; s=arc-20160816; b=ZtHKqdtk1WNlCidPPwJe9UZD9nWHCLaD2fu0NR+mQMJmFdIvk7hsjPU9P/e5LoU3S3 5GFCcrTq/F44LDy0kfPmUeRVMcC+MeAf81NCC9wqtTTmPx3J6E3Q6a+L8h/NpsDeWsta bqd0fI3DjkxM13Q/HF33G+CE7hCgHOCDY0nPscy4iJ+Hvx70rhRh0hI7GmldiseAx4hl sRoGehN91h3MZwZC27FWyHvPolBM/vEECTKqec7igMSxPOpqatA2JLfLnrhyCDBnpwoO +f7QfmVXBgEeotKhHMl1hmY5DDkwTeKJPBiAZhGslShoQtqNjrrvY9Q002hC9oxHTYNt ENrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=UIkx99NthhwThTPnA8nb4vbPBtbfwFbQXdYfq7t8Ews=; b=KkEAgTJqWBFFZbShTa/cJN2QtKl9I60aGcdK+IC6fbr7MLIZlhTaEt64KtiPSEZrK2 uqmvx3ceB+zQek/n4d/5m6fub0P91gs8Repz1Wim287ieExf1uxsvjgAhwp4BBp28E1a 8kaybkwQl1rJTQddcuVDmzxPpU+3Q8tHGFepfyHctw6sBA5exD8ell9l1vHDlJ5/IxJu PL/DmHXVEvSzk/oQnvbb4EwWBUqrJg/0ndYLapRaGZNz9e26WJ1xvuzEp3ao96XKT6aS Ddc/FG1jvXN5zaONLFVi/+8qhoCouPGXq2dca7+rXbwnjiQuFyBQhWK1WIQ7Z6m+TfwM iYWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=gxJV2wfP; 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 c7si6724849pgg.339.2018.12.08.20.25.29; Sat, 08 Dec 2018 20:25:44 -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=gxJV2wfP; 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 S1726110AbeLIEXn (ORCPT + 99 others); Sat, 8 Dec 2018 23:23:43 -0500 Received: from mail-pl1-f195.google.com ([209.85.214.195]:34659 "EHLO mail-pl1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726056AbeLIEXm (ORCPT ); Sat, 8 Dec 2018 23:23:42 -0500 Received: by mail-pl1-f195.google.com with SMTP id w4so3656592plz.1; Sat, 08 Dec 2018 20:23:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=UIkx99NthhwThTPnA8nb4vbPBtbfwFbQXdYfq7t8Ews=; b=gxJV2wfPeMpfgbFEDYmdEw+YLgLM4YufD1tkpQFDPy9ic6iSVd3eBltw7Fv6Zy4CWo 1pj7OFqYuZr6lE+mGqVN7zkBz0xbnP8Vg17k4wYg4EiWDECDhLdmb2RGjdOOiLQfONN2 TaFGemvhCWcKfuOCIdh/IdqIuH26C6UIvxFDtRGSd6NEJFQoqciIXkX1sVFAfli32rKs /BYNZsWyhqIHeilh9lLs5Xct36uCTsloFDJFJrDosq94IayT0P8i0v8hMu2ygCyfWbH5 VsGoSM7iCqZgS3MLGE89KPGYbjg3NWhiYzxLz2rEzpse2kViYfxWmRXTA7o4c1ze+hNu uFWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=UIkx99NthhwThTPnA8nb4vbPBtbfwFbQXdYfq7t8Ews=; b=aeeONtxjfuFir0g+jevnR/0WD7oOdwXWlWSNp471EMvgCPcnxBE1D5wfBAUaJhcdad J5uzKK3YHJBlpRPuDjGzAu7737LiQR3x2ELO4SMJzYky0iShYaKwVEgVjR7kcIXlPesq lY4i8u8umi85bMwBa7t2cgmZRW8YBGexV6iQyhpWwQcCRpHAzQbDxtCfr7GFyi0AH0DW TY0bb01BxpL5kk9bJlFzm157LDq6vPC1wLAb/ZT2uvQKnGg4uU8iQBv0OewYSlmuU6pU YheLylEBIfCfuBc2TQPf+XkbHscKln/k8kccIV2qCx5RXZfB2pbhbuyGy4WYEe1ns9gR 8chQ== X-Gm-Message-State: AA+aEWYm6CwmRUS2zJLgeWelASgxAgTnLP3sK49ADJ0eg0nfMJc6Y5uR osU2TzJbP5/IeUPaUT5hPgo= X-Received: by 2002:a17:902:2dc3:: with SMTP id p61mr7478204plb.166.1544329421558; Sat, 08 Dec 2018 20:23:41 -0800 (PST) Received: from dtor-ws ([2620:15c:202:201:3adc:b08c:7acc:b325]) by smtp.gmail.com with ESMTPSA id t21sm9270775pgg.24.2018.12.08.20.23.40 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 08 Dec 2018 20:23:40 -0800 (PST) Date: Sat, 8 Dec 2018 20:23:38 -0800 From: Dmitry Torokhov To: =?utf-8?B?UGF3ZcWC?= Chmiel Cc: robh+dt@kernel.org, mark.rutland@arm.com, devicetree@vger.kernel.org, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, xc-racer2@live.ca, simon@lineageos.org Subject: Re: [PATCH 3/8] Input: tm2-touchkey: Use predefined device name Message-ID: <20181209042338.GC211094@dtor-ws> References: <20181207105811.1831-1-pawel.mikolaj.chmiel@gmail.com> <20181207105811.1831-4-pawel.mikolaj.chmiel@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20181207105811.1831-4-pawel.mikolaj.chmiel@gmail.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Dec 07, 2018 at 11:58:06AM +0100, Paweł Chmiel wrote: > From: Jonathan Bakker > > Purely a cosmetic fix, using the names defined earlier If we decide to keep different names please fold into first patch. > > 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 > -- Dmitry