From patchwork Sat Aug 25 09:00:48 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matt Ranostay X-Patchwork-Id: 10576051 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 58F8C139B for ; Sat, 25 Aug 2018 09:00:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 48CD72B60A for ; Sat, 25 Aug 2018 09:00:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3B72C2B653; Sat, 25 Aug 2018 09:00:56 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D025C2B60A for ; Sat, 25 Aug 2018 09:00:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726286AbeHYMjN (ORCPT ); Sat, 25 Aug 2018 08:39:13 -0400 Received: from mail-pf1-f194.google.com ([209.85.210.194]:45539 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725815AbeHYMjN (ORCPT ); Sat, 25 Aug 2018 08:39:13 -0400 Received: by mail-pf1-f194.google.com with SMTP id i26-v6so5568117pfo.12 for ; Sat, 25 Aug 2018 02:00:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=from:to:cc:subject:date:message-id; bh=Zj+nG5ZkyPJhyEaW+r5UjeBSdKq+/SS2/LcsN1bY3RI=; b=YrCD81kB2tAXUqq7rAJhTneCvbBdHEpUmRLxjAMrZr7aX1bLXuYotxwJeYnlVjAIpk msxxVE0vMSFzGmIUEItpXgwprPsls/pi88QSy61o3WQ9lnpXSmbWskIbPHSDOP23VuHl b6MVAWXdgTW6HPjV5zXGrBcorN2OJmOL+nKeY= 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; bh=Zj+nG5ZkyPJhyEaW+r5UjeBSdKq+/SS2/LcsN1bY3RI=; b=FB3ez8W+85GZom0QeKbCRrNoJRdH2I2HLNHcQHmQh3PYKnNhYsNRMuKBRlxOezw1sC xgONQd4VXXsl44SdCOTsNvnS13uNJQv3ePfJwmLYi643krUXDgHJFPurmZVLaoM3ssoj cL61ZXUvrvQ3QBHOqHIDl0KDiGZTfQT0Q8P2yCRu6/WQqd7yX150awBNtBJjSmWzoq5r 8f+1hX44YPiDJF2OeSnbc1NeaY793+/D9NdBdFotCMinm/Jaxmqd8F0hDnUfVNkTE4RR pd+5ShsMAcoBiTwHJ1L8co9Goj4V3llocrzxGYGDfpSdAEQ5EiJ1mHSa6ytsmQIzdRkr LHZA== X-Gm-Message-State: APzg51CIQJkYrdbiPmY2tjGvgiXjXp0triuTtBB+NbNehhi1+OTOXTSr gcuF1lrJ46iV4C1jPl+CzRaaA600aJ4= X-Google-Smtp-Source: ANB0VdZknqyQcOm+IhrDqdFHSDmbfwkJuSh+sWASuqMCuCaHd7+BjUkYUg6QlIp8VEptKSsFatA7PA== X-Received: by 2002:a62:f208:: with SMTP id m8-v6mr5429520pfh.222.1535187654258; Sat, 25 Aug 2018 02:00:54 -0700 (PDT) Received: from niteshade.hsd1.or.comcast.net ([2601:1c2:5000:8d45::3f0e]) by smtp.gmail.com with ESMTPSA id k5-v6sm27361267pfj.30.2018.08.25.02.00.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 25 Aug 2018 02:00:53 -0700 (PDT) From: Matt Ranostay To: linux-iio@vger.kernel.org Cc: jic23@kernel.org, Matt Ranostay Subject: [PATCH] Revert "iio: temperature: maxim_thermocouple: add MAX31856 part" Date: Sat, 25 Aug 2018 02:00:48 -0700 Message-Id: <20180825090048.17438-1-matt.ranostay@konsulko.com> X-Mailer: git-send-email 2.17.1 Sender: linux-iio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This reverts commit 535fba29b3e1afef4ba201b3c69a6992583ec0bd. Seems the submitter (er me, hang head in shame) didn't look at the datasheet enough to see that the registers are quite different. This needs to be reverted because a) would never work b) to open it be added to a Maxim RTDs (Resistance Temperature Detectors) under development by author Signed-off-by: Matt Ranostay --- drivers/iio/temperature/maxim_thermocouple.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/iio/temperature/maxim_thermocouple.c b/drivers/iio/temperature/maxim_thermocouple.c index 54e383231d1e..c31b9633f32d 100644 --- a/drivers/iio/temperature/maxim_thermocouple.c +++ b/drivers/iio/temperature/maxim_thermocouple.c @@ -258,7 +258,6 @@ static int maxim_thermocouple_remove(struct spi_device *spi) static const struct spi_device_id maxim_thermocouple_id[] = { {"max6675", MAX6675}, {"max31855", MAX31855}, - {"max31856", MAX31855}, {}, }; MODULE_DEVICE_TABLE(spi, maxim_thermocouple_id);