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: 68001 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp170007wrd; Fri, 10 Mar 2023 23:50:37 -0800 (PST) X-Google-Smtp-Source: AK7set9dOmL/ZaCaU3KqaOamR8Q1ceeODm4ZxFhi/yac4JiJT/kpBnRxM6VtHphMyyJTcLVsMZa6 X-Received: by 2002:aa7:96f9:0:b0:593:2289:f01c with SMTP id i25-20020aa796f9000000b005932289f01cmr20182929pfq.25.1678521036840; Fri, 10 Mar 2023 23:50:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678521036; cv=none; d=google.com; s=arc-20160816; b=nrUMFP77WD7ws49V2unG0U6uU5MCbIwK9icB/jUc2dDD/WBmOmCo5H0S1OQaWzbqyB Z073kdqmafTPnGMudTOtdI/2pWD/SLVDBw1UVb59H93I3UaMKamFIfmOT2fkh5s3Jon1 snewfG1RH4Za7CbYye2aRnm++dJRQbUu/TJez7SBiaIqymJnQS7V9tXZf65KkXqnOHbL 7UuxBt0iY7GbE5XQMNxT+6OEvQqWUUu/9BCKwaAzlyFHug1hJ8BhsyuQQIR24TVFQBBl YV96ARRcH/syEjCL6DJmuKjbcVKyma6UEDlCrfhRql+oDF39rdip7w1arMf6RMOnbsCk kCqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version :mail-followup-to:message-id:subject:cc:to:from:date:dkim-signature; bh=mKflZ6rsgVeHEG5nlREt4V8g2XbOzUmzJ0vZtYUg2rg=; b=bEm1mJso4kBCO4C/3Kwu9vrlOxw/hbYKYNsAKiPqL8pu/ZKbQN6WLNDRsAo+P833gK quf55BGDfsIm+h9gt43lTYy31iz7u6X+Y2LM4eErKa0DmyqV2BJN49eBsdvzM5+yW1wT N01/Tt6ApzfpIr40Fx0gbqsxKdxSsNnll2LUcW1PUOroviKE231mumuJsUSFbb2s6Gtb nwg5tgskIVv1VgRBGTqwJWJ3ccoLNzIhuUsXFORkSHegPhuoXQZkQqeKuv7gh96u4Dpo rTq6fyaHk2YXnEWdcUVWYGT9NrsKZKks8nQQRxDpVFq1Vdz4p0MMAesA3aU1f0cHcxwm CfFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=m+kx1KuW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 18-20020a630012000000b005092fd06b52si93996pga.368.2023.03.10.23.50.24; Fri, 10 Mar 2023 23:50:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=m+kx1KuW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230174AbjCKHUp (ORCPT + 99 others); Sat, 11 Mar 2023 02:20:45 -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 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1760056874737480138?= X-GMAIL-MSGID: =?utf-8?q?1760056874737480138?= 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(-)