From patchwork Sat Jul 20 13:15:54 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Karszniewicz X-Patchwork-Id: 11050895 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 9EBB71398 for ; Sat, 20 Jul 2019 13:25:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8AA6E2893A for ; Sat, 20 Jul 2019 13:25:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7A0B128949; Sat, 20 Jul 2019 13:25:06 +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 5319A2893A for ; Sat, 20 Jul 2019 13:25:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727520AbfGTNZE (ORCPT ); Sat, 20 Jul 2019 09:25:04 -0400 Received: from mx1.cock.li ([185.10.68.5]:33767 "EHLO cock.li" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725801AbfGTNZE (ORCPT ); Sat, 20 Jul 2019 09:25:04 -0400 X-Greylist: delayed 521 seconds by postgrey-1.27 at vger.kernel.org; Sat, 20 Jul 2019 09:25:03 EDT From: Robert Karszniewicz DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=firemail.cc; s=mail; t=1563628580; bh=T03mKEFFc55zmeKdDGqPIZVXFGNylYNZH2hF6DUQIKc=; h=From:To:Cc:Subject:Date:From; b=pNDrm8r0DYSQC3XbevN8dNzpq82uKBNQ+cDroXCENpPnR6XSYKIMTSjroT/gpkuhh Apig4jjG3OLbERIPrifKMyzcZQGnF2KnXcM6jDoxgTkZ+W6Wta99ZPFu0HjPV/9YV+ VJXD2PjyE+CvDPBr8oeD/ht1t89ATjyOEnbv+tDfWml7RdGH2EhivRXMwjvsJe7QRG L3GtnLbMX0fP1PzEQszdlzNKHdNhwzwGUqv4IS7KReEI6Qe4hx+0796DJUgFqe65rw lxJaxVDwP4GB7wxi+SdydaUrW6MBmtQCajhUQbtXtGFmkCjkCLQxMoADV8KDSJpzIi 74Y8QqWb5bNGg== To: Rudolf Marek , Jean Delvare , Guenter Roeck Cc: Robert Karszniewicz , linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/2] hwmon: (k8temp) update to use new hwmon registration API Date: Sat, 20 Jul 2019 15:15:54 +0200 Message-Id: X-Mailer: git-send-email 2.22.0 MIME-Version: 1.0 Sender: linux-hwmon-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-hwmon@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Compiled and ran against 5.2.0-next-20190718. I did not know how to manipulate `type`, `attr`, and `channel` arguments to is_visible() and read(), so I did not test that. But it works in normal use (`sensors` and reading the sysfs files directly). Robert Karszniewicz (2): hwmon: (k8temp) update to use new hwmon registration API hwmon: (k8temp) documentation: update URL of datasheet Documentation/hwmon/k8temp.rst | 2 +- drivers/hwmon/k8temp.c | 204 +++++++++++++++------------------ 2 files changed, 93 insertions(+), 113 deletions(-)