Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp527402ybi; Wed, 17 Jul 2019 00:43:16 -0700 (PDT) X-Google-Smtp-Source: APXvYqxeaU8WmExdLg8t9HPaKqBvJE/v1p0mrxUllchJNxk5ie2cnL6QXjhDAEyc1Y1ir5xArdzM X-Received: by 2002:a63:204b:: with SMTP id r11mr39481923pgm.121.1563349396616; Wed, 17 Jul 2019 00:43:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563349396; cv=none; d=google.com; s=arc-20160816; b=wC0uKJAx+6Y4mA1gEJcpgPYbnbVSF1vnr+eWrdIODlLZsu/m4JU+ucTOKiEJtHdbg7 lvWWFldaCcH4AyOKaGdqCX+CIKZywK130hKkpFDMElTih3fopJeEGyK1lCUVguvMmZkB fIbo2Qw/hnkaYiD3zcTxuAi2gCL7/R3FPI+tDJYd4SPje5bqiFSzmWndk2Dv18fldN/m aiYZyqqQjoJaNJLX98dmglkU//O8nUIgcLz1DvbxZs6vPYU7q21rdBNFpkRARzinpukF Ca4fm0nxkgpyowvqQJnJAf3x5dBOu0R/vaL+Lq9sS6nLc66w9v75Fshbi/2TeljHBOcI vWKg== 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-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=/1lJB4MpR9XdUfonxq30j+7es79jIicA8w86kThLLrQ=; b=cesJkARFjF56/3SC1WvND/uQeMYHrEdpdrurLxrXsqFgIHIrFvwIsa3QBpnsokdrap eG9mn4ulTxZlI912G4QSXkqxSVAvYtH7f82uOt9idIt0/qMvqMjD3WTyeLXu/0t8hWBf 7MpWmXWmb0Jj4oMkwAklHJ4sj+HLTfLzq0GB83IWSdIItj94pwtIbOdOn2Kn6zQjFbxD f6+58osmhuGvylNH2e/9wtN455HW0E47ZSc7U/jZVlpjFUIYqPLOGOv0MO1tQ+3tG9GH RctHNdaxmiBuFJsp3wd4Et78NNB11o/GfBsK9gG3RkJYo8w4fr9xJStuWwubmi3vi/gs MMMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=kAWyYFea; 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 i41si22003854pje.45.2019.07.17.00.43.00; Wed, 17 Jul 2019 00:43:16 -0700 (PDT) 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=kAWyYFea; 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 S1728094AbfGQHlr (ORCPT + 99 others); Wed, 17 Jul 2019 03:41:47 -0400 Received: from mail-lj1-f194.google.com ([209.85.208.194]:35248 "EHLO mail-lj1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727778AbfGQHlo (ORCPT ); Wed, 17 Jul 2019 03:41:44 -0400 Received: by mail-lj1-f194.google.com with SMTP id x25so22615378ljh.2; Wed, 17 Jul 2019 00:41:43 -0700 (PDT) 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:in-reply-to:user-agent; bh=/1lJB4MpR9XdUfonxq30j+7es79jIicA8w86kThLLrQ=; b=kAWyYFead9n/yArqNMRnAbRJIjnhlw/szW5y/vc0DsFcnV1NoURz5zHI1QZxZ7ZMk3 i8/9NCcRRIjh19pVQ2yj3iV2+7oEctwkpUuLkifLZo8u8y0nIaHPfRwz48NdJmvjMaXq KD4q0uclW2v6acsYga90u/Qf/oOegZV8iPxS4OyFZUfQNifiIzmeeQaG/vKUffuQkOO9 H9XwBBeN+ESQjPP8I2Z2kPm/MWXJlvhGrCHpTM/FU/bkmVo6MsKhsI0PHrGtvcw5NVkq 7hdLlRnuHzxPhkUVQ727Fwj1u3AWdueQQQRrhazlk4QhzELvy0jM30cDFiWbf5jL3Q0D lslA== 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:in-reply-to:user-agent; bh=/1lJB4MpR9XdUfonxq30j+7es79jIicA8w86kThLLrQ=; b=LMaURIOHd7VaJ3WLLSZ3b3gFiAJ9ANHkQPefiPfTbv7Y+gcHmPaWLjfktW3Ls/S9XI RELKas8K0pxq78Q11RZCH7ZeVYv9fpEkjnA7dx4TDPbMHtt6StuGH0GKgB+BzIQuhMXg KptBVjzqzKprJJ4VfTzQ1jX7d9CXOrAFsznnVS0CiqxJURyngTuHbR4Z01XwKxShsHwD hSe85mZ6LLbksq2QbZyDCLeQHwTt0a+PYb1AiOaloQHf4kiCShNZnNLsKVfWMM5abD0n N9olwzoiM/hTVxoB1JMsUNDt694CJ/t4r2XalPKGh1VuUArYe8oxMw/h19JqOyCPYaCE +Tug== X-Gm-Message-State: APjAAAXCKI02Tzhk1P+KT1tdJno5qyJ7Mdw/hwN+0ESEP8/gmYfOaHmu WsfNnfxnQYq+m1ytUZMnGEA= X-Received: by 2002:a2e:3c1a:: with SMTP id j26mr20132301lja.230.1563349302513; Wed, 17 Jul 2019 00:41:42 -0700 (PDT) Received: from localhost ([188.170.223.67]) by smtp.gmail.com with ESMTPSA id x22sm3328651lfq.20.2019.07.17.00.41.41 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 17 Jul 2019 00:41:41 -0700 (PDT) Date: Wed, 17 Jul 2019 06:36:55 +0300 From: Dmitry Torokhov To: Lukasz Majewski Cc: Lee Jones , linux-kernel@vger.kernel.org, Sascha Hauer , Enrico Weigelt , Thomas Gleixner , Kate Stewart , linux-input@vger.kernel.org Subject: Re: [PATCH v3 3/3] input: touchscreen mc13xxx: Add mc34708 support Message-ID: <20190717033655.GC621@penguin> References: <20190716221929.3782-1-lukma@denx.de> <20190716221929.3782-4-lukma@denx.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190716221929.3782-4-lukma@denx.de> 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 Wed, Jul 17, 2019 at 12:19:29AM +0200, Lukasz Majewski wrote: > From: Sascha Hauer > > The mc34708 has a different bit to enable pen detection. This > adds the driver data and devtype necessary to probe the device > and to distinguish between the mc13783 and the mc34708. > > Signed-off-by: Sascha Hauer > Signed-off-by: Lukasz Majewski > > --- > Changes for v3: > - Replace forward declaration of mc13xxx_driver_data with > structure definition > - Rename mc13xxx_driver_data with mc13xxx_chip > - Move static struct mc13xxx_chip mc13783_chip and mc34708_chip > closer to ID table > - Do not check mc13xxx device type You do not even need to define or store the type. Once it is dropped please feel free to add Acked-by: Dmitry Torokhov and merge with the other 2 patches. -- Dmitry