Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp3955981ybv; Mon, 10 Feb 2020 09:29:48 -0800 (PST) X-Google-Smtp-Source: APXvYqxvSczP4GzVFhpwYtNGbM2wR3wAdnPjNOielfFEkCvOOyaZLMe03l2JZbP5t2HdP0icMJsS X-Received: by 2002:a54:4117:: with SMTP id l23mr99100oic.140.1581355788069; Mon, 10 Feb 2020 09:29:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581355788; cv=none; d=google.com; s=arc-20160816; b=WDQNRfWwpN3Q44pl70Yd12MCylvYpMR3rDpGig5kP/wCXBj7unPui0B2Sb0QV8/hN3 ur67jvR9AO0O/9fI3NdtQWAjmRdj3cuHdCQvZ1Hllgee4tANmbYbpqWCSkzZD+huTEs6 PYdOhOf9pCXxcLugCai/JyJNLDlyQ4xShGWy4/a/WoyHBNAI/Nhz7+5uEUedLhhfo6nK 1cq26No006gbMQpKMRZWSrCHPKmB6pvYgF07JiPvFSfiNj7BC1to6Ou9zN4mn3mNi31o HA9PaXpc9FS+EOYN5dtkf3yYJ/nPe3a+/LtoP6cCTnQ65EIq/q5BrOD0Ku/4ETQL/QeL 9ZsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=j7xQPeTEkYfXqsv82iE4+rnpfnRQOBPYa/cxPN3aI8s=; b=mp5qYiFuvbJxCixZ+ipxZcVO9fhs0eSFbD0kDyrXK19tsNYLuatFGbiMz0AhLCy2VZ nSbP/kU4Lh3sUThTz5m3A+qc6PVu4WG6y77cR9Kp1qLUMv8KsMKSy7R3dUz2u9OCRe9z r76f2Iw5dU7jHusajVQa+wYXRlopkCdgTZmOlZnfwaTLsCYkrc/2sYcTxnvQ3PyZZ9Wr vAE0lH0x4PJkwonshCWOj7kqpk9ao4FLmV7se+ME627Cy51eOEb0EC/tMZdr9tNLl4fd GutNkwghoizgDIN6RNq63AgNRYFqBkW/Hajr6rQzbMuyKuoVExw7xe3yZF5oAw+CLaBx FyWA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b10si416260otp.124.2020.02.10.09.29.35; Mon, 10 Feb 2020 09:29:48 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727887AbgBJR3b (ORCPT + 99 others); Mon, 10 Feb 2020 12:29:31 -0500 Received: from sauhun.de ([88.99.104.3]:43976 "EHLO pokefinder.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727121AbgBJR3b (ORCPT ); Mon, 10 Feb 2020 12:29:31 -0500 Received: from localhost (p54B33161.dip0.t-ipconnect.de [84.179.49.97]) by pokefinder.org (Postfix) with ESMTPSA id 6FAB62C07F3; Mon, 10 Feb 2020 18:29:29 +0100 (CET) From: Wolfram Sang To: linux-i2c@vger.kernel.org Cc: Benjamin Tissoires , Phil Reid , Wolfram Sang , linux-kernel@vger.kernel.org, Wolfram Sang Subject: [PATCH 0/3] i2c: updates to SMBus alert setup Date: Mon, 10 Feb 2020 18:29:24 +0100 Message-Id: <20200210172929.6001-1-wsa+renesas@sang-engineering.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The main motivation for this series is to convert i2c_setup_smbus_alert() to a function which returns an ERRPTR instead of NULL. Because there are only a few driver using this function they are all converted in one go (patch 1). The function is also renamed to make sure out-of-tree users will note they have to update (or better upstream). Patch 2 renames the of-equivalent, too, so both functions keep in sync. Patch 3 cleans up some outdated documentation which was discovered while working on the earlier patches. Patches are on top of v5.6-rc1 and can be found here: git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git renesas/i2c/new_client_device Only build tested. Testing and reviews from people actually using SMBus alert would be much appreciated! Thanks, Wolfram Wolfram Sang (3): i2c: convert SMBus alert setup function to return an ERRPTR i2c: rename of_i2c_setup_smbus_alert() to keep in sync i2c: smbus: remove outdated references to irq level triggers Documentation/i2c/smbus-protocol.rst | 2 +- drivers/i2c/busses/i2c-parport.c | 11 ++++++--- drivers/i2c/busses/i2c-thunderx-pcidrv.c | 11 ++++++--- drivers/i2c/busses/i2c-xlp9xx.c | 10 +++++--- drivers/i2c/i2c-core-base.c | 2 +- drivers/i2c/i2c-core-smbus.c | 31 ++++++++++-------------- drivers/i2c/i2c-smbus.c | 2 +- include/linux/i2c-smbus.h | 11 +++------ 8 files changed, 41 insertions(+), 39 deletions(-) -- 2.20.1