Received: by 10.223.176.46 with SMTP id f43csp1012872wra; Fri, 26 Jan 2018 10:20:37 -0800 (PST) X-Google-Smtp-Source: AH8x227n8foPlgsu2XaC0DzdOQimduZ881UlK2jXex0Y/94m53s5BgrA8AaboMCdw+2mtKvXpnC9 X-Received: by 2002:a17:902:e65:: with SMTP id 92-v6mr12266295plw.148.1516990837820; Fri, 26 Jan 2018 10:20:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516990837; cv=none; d=google.com; s=arc-20160816; b=lkSrovhWhBbqE/DAf0Yru5Qk4tCGoNYqcPb4DLgIQjTYfJorWPvJFhRPUVNgDx5EUh iSgaqmbasFUaS+NRn4iAkNeio5BWScCebLgdvYACVNjjOYIAU3yS/gFXQKvlHz40+xm6 MX8wFB5Yf2VoGvJKkS1J4flowzVElmJ7Ekjyw7zqjduyUwgbT0cH5dxriY+o2tPn6+b5 ylc8ZVb5NksatadcXdNRR1v2JTugZQY+yQoFSeNseveEJv011VLstZCWP2lcIJGut+dr OtTtzmtRLROPahp3PfDWebiSf0IuRsVW/dM7Jrm6E3aYjWzS5hZYwzkN4hcKlw5t6B5Q NT3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=hWGPGuTQ4lZOiyxU/ijXzZujz0AvMsyfAJz6XQmjzbo=; b=fMxvlkNAs84GNgazwKnI6GZ1nWMzC/be5NBPQzJHkzRi/y/bSfCM8FOqXF1T98NCGx vQFAMtsb7L6ZalqJXh2/WXyGGpDwi7CAbxoCSsU4RepGh0W6bBG6SAaEiiKhO5b1bMjT o4dtf+EL/9bPDYO2kVQTwpf4uGO3aDeeCRg0jWVATULkaXu+6wME1VpMNSHcWERaD/7V tnykEMCFahil1Mv1LdiPTYR0JqijUlyvoFhnsItzuxdBoeS9VJgfEJNY4hO54ukUh7LC CQeXEG3wTSMl1nkEq2BUP8ddsot7TowWjfP2xwGYS8qzS2q96Eg46oJLpeiBc8Na3N+3 C81Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=a85dASRH; 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=NONE 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 g6-v6si3935110pll.691.2018.01.26.10.20.22; Fri, 26 Jan 2018 10:20:37 -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=a85dASRH; 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=NONE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751710AbeAZST5 (ORCPT + 99 others); Fri, 26 Jan 2018 13:19:57 -0500 Received: from mail-qt0-f196.google.com ([209.85.216.196]:33913 "EHLO mail-qt0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751264AbeAZSTz (ORCPT ); Fri, 26 Jan 2018 13:19:55 -0500 Received: by mail-qt0-f196.google.com with SMTP id a27so3546606qtd.1; Fri, 26 Jan 2018 10:19:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=hWGPGuTQ4lZOiyxU/ijXzZujz0AvMsyfAJz6XQmjzbo=; b=a85dASRHr9RHH4rd7wxUMzWFZfOfQN3EZZPTAz/4Gq0OjyuVtLl/TeTrLcFBPGtQnt eo7/Q9aGHzjaQ7f5ZuQ5mub3/TN/wqxqDOztKaCgQ4b5VdYS5vF10I5cTa3pRo0V/psV pg4sTHWVWBLOdO40Qhd60StPwEId+bRep4mYGvMW+JLZORbK6pAUeqaVXZUeLJowwuKb 7xuUamfDBr3nLYyPzw6LVa0Y0p+hHahF6dmDNRUEPBQ2Oto64w4HDgkdRaZ3A4zs7Dbf ll5XufITneoYynVvLJBS1Nu+y3U0Vj9k7a8vVMyFyKtqwrfwZHshLC9Og1Qp17E3qjoY THFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=hWGPGuTQ4lZOiyxU/ijXzZujz0AvMsyfAJz6XQmjzbo=; b=m60SlJqk9mZ4YC7pJad4DUBzifMip34FMOdRJW5vJXU3FzxIgNiNxXgpKyCFuCgWeb neUDmE8nBXPHP2OODO2kn2tqT7lAZkM5FyjC1nrCdALtJRPeLEcHQe2KW2txXJ1FgpGD Yv3W3tUcXXpkiIuuVD7ndoO2M9/4xGMl51pMQ43yvsler8HjGUxR5vo7mNIFUsStlEaq zi9kQf6vsbfuSYW+ROKRsZCRirBAOwSWuHZ/xjimN14nB2jLUt5J6LiKjDB3CrFHGCZq 34TgKJ3IgTyYjbuXZC+99rW8uNPUn6FhtjdaN1aB3RMlUSpXU+MR5XVYW4Lhd520vBi6 17RA== X-Gm-Message-State: AKwxytceEk6tkPy3XYeUr6ju+dthSeINd0Z1eFGJd2VBKOX3GHBfhLvN 6xftoafpJKv12Yvw//Y3vOa94dS8XqbXENEv2rQ= X-Received: by 10.55.185.134 with SMTP id j128mr18426039qkf.341.1516990794440; Fri, 26 Jan 2018 10:19:54 -0800 (PST) MIME-Version: 1.0 Received: by 10.12.175.35 with HTTP; Fri, 26 Jan 2018 10:19:53 -0800 (PST) In-Reply-To: <1515961960-35157-1-git-send-email-milan.o.stevanovic@gmail.com> References: <1515961960-35157-1-git-send-email-milan.o.stevanovic@gmail.com> From: Andy Shevchenko Date: Fri, 26 Jan 2018 20:19:53 +0200 Message-ID: Subject: Re: [PATCH v3 1/2] iio: adc: driver for ti adc081s/adc101s/adc121s To: Milan Stevanovic Cc: Jonathan Cameron , Lars-Peter Clausen , Michael Hennerich , Linux Kernel Mailing List , Hartmut Knaack , Peter Meerwald , linux-iio@vger.kernel.org, Philippe Ombredanne Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Jan 14, 2018 at 10:32 PM, Milan Stevanovic wrote: > Add Linux device driver for TI single-channel CMOS > 8/10/12-bit analog-to-digital converter with a > high-speed serial interface. > > Signed-off-by: Milan Stevanovic > + * Analog Devices AD7466/7/8 AD7476/5/7/8 (A) SPI ADC driver > + * TI ADC081S/ADC101S/ADC121S 8/10/12-bit SPI ADC driver Guys, I'm not sure I understood this mix. We have like few TI drivers here: drivers/iio/adc/ti-adc0832.c:352:module_spi_driver(adc0832_driver); drivers/iio/adc/ti-adc084s021.c:269:module_spi_driver(adc084s021_driver); drivers/iio/adc/ti-adc108s102.c:343:module_spi_driver(adc108s102_driver); drivers/iio/adc/ti-adc12138.c:547:module_spi_driver(adc12138_driver); drivers/iio/adc/ti-adc128s052.c:211:module_spi_driver(adc128_driver); drivers/iio/adc/ti-adc161s626.c:276:module_spi_driver(ti_adc_driver); drivers/iio/adc/ti-ads7950.c:519:module_spi_driver(ti_ads7950_driver); drivers/iio/adc/ti-ads8688.c:481:module_spi_driver(ads8688_driver); drivers/iio/adc/ti-tlc4541.c:266:module_spi_driver(tlc4541_driver); What's wrong with them? Is it here code duplication between two vendors? -- With Best Regards, Andy Shevchenko