From patchwork Sat May 18 11:01:01 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wolfram Sang X-Patchwork-Id: 1101388 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=linux-i2c-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=the-dreams.de Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 455hzW3gvJz9s9T for ; Sat, 18 May 2019 21:01:11 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727189AbfERLBE (ORCPT ); Sat, 18 May 2019 07:01:04 -0400 Received: from sauhun.de ([88.99.104.3]:59826 "EHLO pokefinder.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726263AbfERLBE (ORCPT ); Sat, 18 May 2019 07:01:04 -0400 Received: from localhost (p5486CE4C.dip0.t-ipconnect.de [84.134.206.76]) by pokefinder.org (Postfix) with ESMTPSA id 9D44B2C051A; Sat, 18 May 2019 13:01:01 +0200 (CEST) Date: Sat, 18 May 2019 13:01:01 +0200 From: Wolfram Sang To: Linus Torvalds Cc: linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org, Peter Rosin , Bartosz Golaszewski Subject: [PULL REQUEST] i2c for 5.2 Message-ID: <20190518110057.GA8674@kunai> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-i2c-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-i2c@vger.kernel.org Linus, here are some I2C core API additions which are kind of simple but enhance error checking for users a lot, especially by returning errno now. There are wrappers to still support the old API but it will be removed once all users are converted. This comes a bit later in a seperate pull request because of my recent illness. It would be great to have it merged in this cycle, however, so we can start converting the users (spread across many subsystems) right away. Thanks, Wolfram The following changes since commit a6a4b66bd8f41922c543f7a820c66ed59c25995e: Merge tag 'for-linus-20190516' of git://git.kernel.dk/linux-block (2019-05-16 19:10:37 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git i2c/for-next for you to fetch changes up to b8f5fe3bc5b9318d95770a09a480c31aced20cd2: i2c: core: add device-managed version of i2c_new_dummy (2019-05-17 19:29:40 +0200) ---------------------------------------------------------------- Heiner Kallweit (2): i2c: core: improve return value handling of i2c_new_device and i2c_new_dummy i2c: core: add device-managed version of i2c_new_dummy with much appreciated quality assurance from ---------------------------------------------------------------- Bartosz Golaszewski (2): (Rev.) i2c: core: add device-managed version of i2c_new_dummy (Rev.) i2c: core: improve return value handling of i2c_new_device and i2c_new_dummy Kieran Bingham (2): (Rev.) i2c: core: add device-managed version of i2c_new_dummy (Rev.) i2c: core: improve return value handling of i2c_new_device and i2c_new_dummy Peter Rosin (2): (Rev.) i2c: core: add device-managed version of i2c_new_dummy (Rev.) i2c: core: improve return value handling of i2c_new_device and i2c_new_dummy Documentation/driver-model/devres.txt | 3 + drivers/i2c/i2c-core-base.c | 118 ++++++++++++++++++++++++++++++---- include/linux/i2c.h | 3 + 3 files changed, 111 insertions(+), 13 deletions(-)