Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp4729431pxu; Thu, 10 Dec 2020 04:11:34 -0800 (PST) X-Google-Smtp-Source: ABdhPJxhKTEmc9Qo4U3JQsdJkc3Q9Ktqu29Jrl5ggo/P5Mx91KCuzZOzWt5rMpOy5GamMgmpjRby X-Received: by 2002:aa7:d846:: with SMTP id f6mr6381910eds.55.1607602293912; Thu, 10 Dec 2020 04:11:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607602293; cv=none; d=google.com; s=arc-20160816; b=cMjr1ofgE88qR27ukdkQXFbJjsEJ+B1ohB4fKkDn/iseCMdMD9A+c4FFYteA6k6NpA j6bKTSZu7tDxCUCO6wmni9zAJaksfh8SxH9SU2lVT/FfH66w7NMDmGvXr5r3lah0pCbe hVP7rtXfy805Dd6wu3pl+h0MruPRN78vdrQP1xQgirN5SxmTZRKelVd8B2mmyn15Xtgz rmoB+zwIG3G4fqv2kw/5pNcXTFtC46A+hT4fWHpXjMalq0xcdUn/aYbnFK5VtwHN3KHf /ZEnZKmMU1Kkoxdh5V4AVG8ZAp8qeYVgJC8dBZ62VjE3qkgwaNkOdwFQdy9wsuUyW7ka y7tA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :ironport-sdr:ironport-sdr; bh=Qmqv60nzyiUn75Xm5zvmMc78wwgFM2zfsxQape7bt2U=; b=rsJnjRaidGBkRDnnU4uq8q3D8r97jxm1TevjHVmfZqsBNeMuT71yeTOW3EMoliFE02 l67baTdpL26aZlwH1G6GoMrYwkTtaH18Zqdw+ZwLdLdIq4GYiiJ4bOr77T1pV9nxAThe 7tIkbBZI0lF0PYmtar306wkyqzmQJR6dOYO4Bc7X+mDJp4KTWXCFzOtBasFn4+L1979m xmpaNYXCtXIJUny3YbJ/EBKUoS1gkwg5e/+O+OpPBMT5WnKRjsbJ4U4zWegO+YJthGa3 nj3nUDUx5v75nzati/M0Qr0Rxbj11jIe5GUYSXY3JiICdvaQ4DsiZlVPj+HJ3HaJnpGH JCQw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hr23si2602850ejc.111.2020.12.10.04.11.10; Thu, 10 Dec 2020 04:11:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727921AbgLJLew (ORCPT + 99 others); Thu, 10 Dec 2020 06:34:52 -0500 Received: from mga11.intel.com ([192.55.52.93]:16536 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727149AbgLJLeU (ORCPT ); Thu, 10 Dec 2020 06:34:20 -0500 IronPort-SDR: Ut5zoj7FwXankmGOR28pGzamW8iKEI6CDyEtWseIw0vPFnA+M0OGmj1Ud6x6RjRFQ6N5zFcdmU xWhJtSytqjKw== X-IronPort-AV: E=McAfee;i="6000,8403,9830"; a="170732060" X-IronPort-AV: E=Sophos;i="5.78,408,1599548400"; d="scan'208";a="170732060" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Dec 2020 03:32:34 -0800 IronPort-SDR: VSPww2xSyJ1jwgHSm10TH7YLDBIp3WPatk1kyCCNsdQsg+yEziz23pdrbr38sDHAgUxN2OHgCt 6Su7XgnD1GIw== X-IronPort-AV: E=Sophos;i="5.78,408,1599548400"; d="scan'208";a="319024823" Received: from smile.fi.intel.com (HELO smile) ([10.237.68.40]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Dec 2020 03:32:32 -0800 Received: from andy by smile with local (Exim 4.94) (envelope-from ) id 1knKCU-00DP8D-Hr; Thu, 10 Dec 2020 13:33:34 +0200 Date: Thu, 10 Dec 2020 13:33:34 +0200 From: Andy Shevchenko To: Marco Felsch Cc: Dmitry Torokhov , linux-input@vger.kernel.org, Philipp Zabel , Simon Budig , linux-kernel@vger.kernel.org Subject: Re: [PATCH] Input: edt-ft5x06 - consolidate handling of number of electrodes Message-ID: <20201210113334.GD4077@smile.fi.intel.com> References: <20201210100803.bfohc5fglvrwrtcz@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201210100803.bfohc5fglvrwrtcz@pengutronix.de> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Dec 10, 2020 at 11:08:03AM +0100, Marco Felsch wrote: > On 20-12-09 15:09, Dmitry Torokhov wrote: ... > > case EV_FT: > > reg_addr->reg_threshold = EV_REGISTER_THRESHOLD; > > + reg_addr->reg_report_rate = NO_REGISTER; > > reg_addr->reg_gain = EV_REGISTER_GAIN; > > reg_addr->reg_offset = NO_REGISTER; > > reg_addr->reg_offset_x = EV_REGISTER_OFFSET_X; > > reg_addr->reg_offset_y = EV_REGISTER_OFFSET_Y; > > reg_addr->reg_num_x = NO_REGISTER; > > reg_addr->reg_num_y = NO_REGISTER; > > - reg_addr->reg_report_rate = NO_REGISTER; > > break; > > Nit: > Unrelated change. I guess the motive is to get these assignments consistent between the cases. Documentation actually allows this kind of modifications of code in one change when them are toughly related. -- With Best Regards, Andy Shevchenko