From patchwork Sat Mar 11 07:20:37 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Wolfram Sang X-Patchwork-Id: 662283 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7A429C61DA4 for ; Sat, 11 Mar 2023 07:20:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229887AbjCKHUo (ORCPT ); Sat, 11 Mar 2023 02:20:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51670 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229846AbjCKHUn (ORCPT ); Sat, 11 Mar 2023 02:20:43 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E67CB1CF6F; Fri, 10 Mar 2023 23:20:41 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 3AC566069A; Sat, 11 Mar 2023 07:20:41 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1EBD0C433D2; Sat, 11 Mar 2023 07:20:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1678519240; bh=v/Ek6knmG/RzPhqXb4VCt1/S5iAnNtLwOaxGyO3VjBQ=; h=Date:From:To:Cc:Subject:From; b=m+kx1KuW8I4NYiyrNDxJEVRZTBvQWX4n2LD2TJ79DXW3HF1J4OaKX7YcDtyqyDyOG LPVgviIqgNYtSIvr7Hp/f+CFKBaSUa3EIv6ZB1utccnbTXnlgIz1txrrHyiyNnyHkn i797Xhcywbl4ERCP/xodGNVYaAnxgeySFtijwgjkZIyvGHbSwdjsBJtlt/WzBMTtTw /k+zg79+SmDIIPJiN6/nCAAqwFBxuUPJk2R5r9KEcvKeHslG81dqil+qcunfwix0Bk b+EpvI+TqikraKx2VIqhjpc1onlE66urlH/kxJPJ7Bg3DQ8t6qDtKP8P2UBh6lfJqM nsz8zCrlWODpg== Date: Sat, 11 Mar 2023 08:20:37 +0100 From: Wolfram Sang To: Linus Torvalds Cc: linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org, Peter Rosin , Bartosz Golaszewski , ukl@pengutronix.de Subject: [PULL REQUEST] i2c-for-6.3-rc2 Message-ID: Mail-Followup-To: Wolfram Sang , Linus Torvalds , linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org, Peter Rosin , Bartosz Golaszewski , ukl@pengutronix.de MIME-Version: 1.0 Content-Disposition: inline Precedence: bulk List-ID: X-Mailing-List: linux-i2c@vger.kernel.org Linus, this PR marks the end of a transition to let I2C have the same probe semantics as other subsystems. Uwe took care that no drivers in the current tree nor in -next use the deprecated .probe call. So, it is a good time to switch to the new, standard semantics now. There is also a regression fix in here. Please pull. Wolfram The following changes since commit fe15c26ee26efa11741a7b632e9f23b01aca4cc6: Linux 6.3-rc1 (2023-03-05 14:52:03 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git tags/i2c-for-6.3-rc2 for you to fetch changes up to 9e5f81f9a6e78ba411117146ecf324d0145ae89a: i2c: dev: Fix bus callback return values (2023-03-09 22:07:52 +0100) ---------------------------------------------------------------- * regression fix for the notifier handling of the I2C core * final coversions of drivers away from deprecated .probe * make .probe_new the standard probe and convert I2C core to use it ---------------------------------------------------------------- Geert Uytterhoeven (1): i2c: dev: Fix bus callback return values Uwe Kleine-König (9): misc: ad525x_dpot-i2c: Convert to i2c's .probe_new() mtd: maps: pismo: Convert to i2c's .probe_new() serial: sc16is7xx: Convert to i2c's .probe_new() w1: ds2482: Convert to i2c's .probe_new() media: i2c: ov5695: convert to i2c's .probe_new() media: i2c: ov2685: convert to i2c's .probe_new() i2c: Switch .probe() to not take an id parameter i2c: mux: Convert all drivers to new .probe() callback i2c: Convert drivers to new .probe() callback with much appreciated quality assurance from ---------------------------------------------------------------- Bartosz Golaszewski (1): (Rev.) i2c: dev: Fix bus callback return values Greg Kroah-Hartman (1): (Rev.) serial: sc16is7xx: Convert to i2c's .probe_new() Kieran Bingham (2): (Rev.) media: i2c: ov2685: convert to i2c's .probe_new() (Rev.) media: i2c: ov5695: convert to i2c's .probe_new() drivers/i2c/i2c-core-base.c | 13 +++---------- drivers/i2c/i2c-dev.c | 24 ++++++++++++++++++------ drivers/i2c/i2c-slave-eeprom.c | 2 +- drivers/i2c/i2c-slave-testunit.c | 2 +- drivers/i2c/i2c-smbus.c | 2 +- drivers/i2c/muxes/i2c-mux-ltc4306.c | 2 +- drivers/i2c/muxes/i2c-mux-pca9541.c | 2 +- drivers/i2c/muxes/i2c-mux-pca954x.c | 2 +- drivers/media/i2c/ov2685.c | 5 ++--- drivers/media/i2c/ov5695.c | 5 ++--- drivers/misc/ad525x_dpot-i2c.c | 6 +++--- drivers/mtd/maps/pismo.c | 5 ++--- drivers/tty/serial/sc16is7xx.c | 6 +++--- drivers/w1/masters/ds2482.c | 5 ++--- include/linux/i2c.h | 18 +++++++++++------- 15 files changed, 52 insertions(+), 47 deletions(-)