Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp537012ybx; Wed, 6 Nov 2019 04:41:47 -0800 (PST) X-Google-Smtp-Source: APXvYqwRW64ZD0IUrufGdIIdOgOdoCwEcFRoBjmDDxeXaabhZ8JvG9teeewEPTOcp4rnjFQo4smv X-Received: by 2002:a17:906:134c:: with SMTP id x12mr33966171ejb.269.1573044107401; Wed, 06 Nov 2019 04:41:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573044107; cv=none; d=google.com; s=arc-20160816; b=bpczL8c87XooGhJpq1PwbrJGx7B2svZUSrgUryRiJHgB//OcpmUks4bDjgES3UG7bU laAQ4k6yZ6Vv5D5rXXze7ZI7prCqUBjn3bYPq4P+UDCCVq4h+FXWQTqik+FRf9J1IJKM CFaslvfZP7aV4lO69PBAI5bPEGd0XnAQJ2Q6WY+HEdkedV2TDuaEEqpc3Th7CDb89clM 3I+JD/qonk0MQS4sJyQHcpnOrT4gL8+r0GYtiti5VEQdipAf6Pc4wbzr0BY8UdET/vIJ gqx8bEo84vHRO8Lk/HEEv/9jQsoRv/zV2bHbL5mXdeXVDPs9G+QCkyywW6g/ZLJ+Ekst 4y1w== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:autocrypt:openpgp:from:references:cc:to:subject; bh=L/jgs2dweP4qbCKIK418EIj42Fo2H04VPxnFo1zw1dE=; b=P1VtJJgD+4FNVwGJx7UOwQAx/9biB3zp+KTat3p8GSMVl4Pw59aVMjCE/rR8RxKoXB Kjc6+iulGDMIG4bIOjH0Yk8NalZiBcBA6JM6vw0cLu0eX9PPlaY9SBTBLrlhsX2oWuBF khur52VtAhZJNCc0qy6xLdg0frdEwAbDmDGU6fIAPf3lN/+d4PKmqdMppVXya10Ytcwa n5priqVM/BvGZFBdAP+0z94g0SPhH87d75yUV1h3JUqeG578tOsRgOUUWijo7l21qCRd QrhEDX/E84mtycm92lEJ6x9wHox57EBICpPJDebfbTRsX2AMO+8h6fbHtesHIxvB5JY7 fTTQ== 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 r25si11894982eji.283.2019.11.06.04.41.23; Wed, 06 Nov 2019 04:41:47 -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 S1731652AbfKFMjk (ORCPT + 99 others); Wed, 6 Nov 2019 07:39:40 -0500 Received: from enpas.org ([46.38.239.100]:45940 "EHLO mail.enpas.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727652AbfKFMjj (ORCPT ); Wed, 6 Nov 2019 07:39:39 -0500 Received: from [127.0.0.1] (localhost [127.0.0.1]) by mail.enpas.org (Postfix) with ESMTPSA id 905CBFFC18; Wed, 6 Nov 2019 12:39:37 +0000 (UTC) Subject: Re: [RFC PATCH 01/12] i2c: replace i2c_new_probed_device with an ERR_PTR variant To: Wolfram Sang , linux-i2c@vger.kernel.org Cc: Wolfram Sang , linux-kernel@vger.kernel.org References: <20191106095033.25182-1-wsa+renesas@sang-engineering.com> <20191106095033.25182-2-wsa+renesas@sang-engineering.com> From: Max Staudt Openpgp: preference=signencrypt Autocrypt: addr=max@enpas.org; prefer-encrypt=mutual; keydata= xsNNBFWfXgEBIADcbJMG2xuJBIVNlhj5AFBwKLZ6GPo3tGxHye+Bk3R3W5uIws3Sxb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aTU8nzXWoPbDl6EuWtyVrwo1S6sSoeEb+7KHJYig8mPeyJvA+1tSTzOjPZLlA56j L7B2x7Mf+vohJx6qS93MVqOLPZo3lvi3QH+ScUNmQNBcLe+sGd8EIJCIMJa9ab8Esx1I8AVr ZVP2hV0XjPJCw/bGp66yYq7dYvvT2wOMk9FUOKCTTBxHEgz5H4LjrA0gJONNrqjI9Hjo8IJU IHKdyyMuKDhs8FkGpx9UTEBMXYasF2J1V9wMJp+JWYEDKQ/ienhXzMpTKeTntPaF3EPcwdmo n6Ro70RlUvNcCNXlosS6KWgXLVZx0xy3cFsF6m4HL3GEXarDm2ub3EatN4nGbknQqzh+1gUG fN1OsIbabwgqrLEUO4tTTE5BKcccjti20S8+3Xn4LCyowrqMREfXDHDT2tStJmi4i8l1NDsf 0deMB5e+8oupffJn64n0qod8e535MEZ8UM244dTv1bR3w9GLWr1eLIF1hOeN6YkRgks7zD1O qowubYXvP+RW4E9h6/NwGzS3Sbw7dRC6HK7xeSjmnzgrbbdF3TbHa5WHGZ3MLFQqbMuSn1Gn a0dBnIpkQG5yGknQjCL7SGEun1siNzluV19nLu66YRJsZ1HE9RgbMhTe2Ca8bWH1985ra4GV urZIw0nz8zec+73Bv/qF4GHHftLYfA== Message-ID: <678c90fb-00f6-6b31-90dd-cde41f730d53@enpas.org> Date: Wed, 6 Nov 2019 13:39:36 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20191106095033.25182-2-wsa+renesas@sang-engineering.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org I'm not an I2C expert, but as far as I can see: This patch looks useful and well done to me. Thanks for moving forward on making the interfaces use ERR_PTR instead of NULL. Max