Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1819898ybl; Thu, 15 Aug 2019 01:38:49 -0700 (PDT) X-Google-Smtp-Source: APXvYqz/yAYI/nCigzGgfFsBEF4EnOszB+vzOSmINPRO0a63HKeph8KeUqQXefv97eBi8e+ce1vI X-Received: by 2002:a17:902:b48c:: with SMTP id y12mr3304190plr.202.1565858329745; Thu, 15 Aug 2019 01:38:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565858329; cv=none; d=google.com; s=arc-20160816; b=U4HA/HXvceeMS3k8n6jc0qcJukqe2xuaSWAWtc8FbaINUfZMfmndatW0uEzcvurzu2 asrVH221oDfxjC6K9H3/CmmJPK+5wjx60SpoF8VP4hfCjo0LOjm1OPeEAtRR9B/MZyZ9 HaqBsjlv+YhZv8avI0oiWDu9MwnC3W9xayAvLNiGjOAra8UdeBUHN+6Dx3Y93TyZUobH euJ0gCJH079ko932mFRpVR7l9aYhx9/kYC4NxPYwjTSGgC4vHegCkw9IKOQImdlenV1Y NQTJUGH6XDnS5v/oahvNnkPD52WjxGTOwCG4+xQ/yNaXk0aOexrRQCcseddIAlT2TgUE ZBjg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=n93Dng/Ji8MdS4CMyB8lWHjceWaq72wrZdpqfUie2jw=; b=RqQ/JYtHJ7cS1VDH83bHvX9XiKlxanVq9M2sqt64ZyUKTy6yM9rQnDV+QAbveYFUwQ 9Ciq9SEWgiWP2NAsDJu36BD2yXDoe4hu3ZHzHf6hkZlJ/OS4pt9r7sQ7aFRXYkLpRL8J ba6Kd2Ve5YQ/bBZlOP1pq0dFc6txnLn4iiUDp2bng9GBLb60Ihk/29jmuoMDSa90KiMZ Ao62GHdl2r8hROIn0dK1DgoSa2ObvC/saXZdQWOYscee5S+uEXnf+c9hkcdaIRATeV2M KVY6TGBzLxO4NVAYiDY/LkdsssHis6PFYNPE7kSzRSYqIg0RU7U8xTtJ5aVsczGfPWdC z0Ow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=n917679w; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t185si1413689pgb.329.2019.08.15.01.38.33; Thu, 15 Aug 2019 01:38:49 -0700 (PDT) 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; dkim=pass header.i=@linaro.org header.s=google header.b=n917679w; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730873AbfHOISm (ORCPT + 99 others); Thu, 15 Aug 2019 04:18:42 -0400 Received: from mail-lf1-f68.google.com ([209.85.167.68]:34871 "EHLO mail-lf1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729909AbfHOISm (ORCPT ); Thu, 15 Aug 2019 04:18:42 -0400 Received: by mail-lf1-f68.google.com with SMTP id p197so1136235lfa.2 for ; Thu, 15 Aug 2019 01:18:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=n93Dng/Ji8MdS4CMyB8lWHjceWaq72wrZdpqfUie2jw=; b=n917679wlyShUhrE5Ig3CFfBox9eY1vDh5kRoK7P3mDg7njrsuDaJ4qJSjP0n0hbvN 6XifsLDIS3pWYVy7ZekSuZ95mPYr4uznZ084qrwwJW9GSUwY02fmoiMMGjcPWsPLiNYJ BJt4KywfKUnhrIVLnU600Uws2yZ9Et0XWqrlcCzH7U6LxN7OD1HNTr293DBvwy30Q1cs 11+aPHS28sOkmSS/L2JI9Bmr2f3qQsIvSylZyRF9Pv2QANJ0oTZ7TKwfE6F/SM1L/Nyw XBCZnmBV99kF3Gb8iTlXZgSaY1JtoKpN45vN06DanE0j0nSsx191aIGKHyhj6a+FPHth etVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=n93Dng/Ji8MdS4CMyB8lWHjceWaq72wrZdpqfUie2jw=; b=Cr0/nalYLW7tAE0ys1FbqHHkUbhFD91FTGAmTsi1IGvDwC+B9RiAHsGnRGGvKgeYE/ AkfHGBIwP2oG2deDqovSpWklogiEccqicR+awsWaAc8smJRYjYAdrE8cfJ/ja9pQtLGY hU2EIfyEIxyMXf7+7KLYCtKwCLAfPzu7Hb1xLINf8JBMvi0X0a5CNwtR75oyFojcOZoX +jqb7pDOpBMZEF3/avD3oh4iWFXNNMvJnja+UD1aD0vCXB7WyTr0kGRLf5RMmtfSOq+C +56Odv3Pe3TDavNbWROYIBLown7Bb7H8WMt3N24RAqzTGOnWalcVZl9tQ5zAQKpVPOAr jnZQ== X-Gm-Message-State: APjAAAV34cokbrLlr9PCNDwRvYEjH4RRhuQ3kgFsNE8cH+o/HFalQmm+ v7SeBhpSnsRJZ5KJft7X+1seIzz24Z0HL3glQy54Pz/K/i+6Zw== X-Received: by 2002:ac2:59d0:: with SMTP id x16mr1883275lfn.60.1565857119990; Thu, 15 Aug 2019 01:18:39 -0700 (PDT) MIME-Version: 1.0 References: <20190815004854.19860-1-masneyb@onstation.org> <20190815004854.19860-5-masneyb@onstation.org> In-Reply-To: <20190815004854.19860-5-masneyb@onstation.org> From: Linus Walleij Date: Thu, 15 Aug 2019 10:18:28 +0200 Message-ID: Subject: Re: [PATCH 04/11] drm/bridge: analogix-anx78xx: convert to i2c_new_dummy_device To: Brian Masney Cc: Bjorn Andersson , Rob Herring , Andy Gross , Andrzej Hajda , Neil Armstrong , Rob Clark , Sean Paul , Dave Airlie , Daniel Vetter , Mark Rutland , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , Enric Balletbo i Serra , "open list:DRM PANEL DRIVERS" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "linux-kernel@vger.kernel.org" , MSM , Linux ARM , freedreno Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 15, 2019 at 2:49 AM Brian Masney wrote: > The i2c_new_dummy() function is deprecated since it returns NULL on > error. Change this to use the recommended replacement > i2c_new_dummy_device() that returns an error code that can be read with > PTR_ERR() and friends. > > Signed-off-by: Brian Masney Reviewed-by: Linus Walleij Yours, Linus Walleij