Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp5256428pxj; Wed, 26 May 2021 06:34:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzGtAsyWsGVd6McMLGN5JeWx41t01Fej48GRTmh3wn01MRQcioMUXDICKo6rZZAdraqwJ8L X-Received: by 2002:a05:6602:3281:: with SMTP id d1mr21648106ioz.87.1622036049734; Wed, 26 May 2021 06:34:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622036049; cv=none; d=google.com; s=arc-20160816; b=vep3/2Z3x34BbPwWjPB/eAKtHC86bv+PMG2SJhXXy6oy3qnHzbwEyJR6E7D/rIiKsa gXdwBfTPcL7Jx3kAL+sSjGJ5b8sU83O8KwmDu0aS9ghbuh90Tb7Qg6g/BnvhKA1ro5x2 +QMwDSarS3/Add7LqUs2P6/XwKLGO/iG+zOaKFXf6uouJ7cP+kAcXYgZHOoHZR8+DWy/ P4SAXPhGECq4Q8Qo1G/13WipmZzc9qJh8Mu1llWutj7/rGlbMbMs+5eMWFLEawCdyQf7 W6Y1SBtzUdi7Rh80Cvq+DeoUm0akIdxalOqFHeCc0iw+zRRN4c4D9chso3u0a85WBSct PGvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=BV2wtRRLMxAa81oGx1tmOdPw4Mr1oYrs9/D1IvLhHvs=; b=YsAxXybqW5hrXuNthbzqGJmzqJlNXFhZEzsJSch+WK93dxJxts7qu695Lh7eN35kra pnb2Q2dToB6zPVcqjB2p2GEUY2xcgc2K/+2ayOfJcF9XYzWPdgm8rAjodTk/ZEPgsjH4 NbNz8+QPV3Iev1czgOJcngUE6iwekVad2VMsd7wckS6cCzYnvUnbki3sOmebhZamA2AK DpBXz6sBpA2msGw40CnYU2pFZ73TScyz+O7RY8UoavPDb4cGBcvn8MnIDmO36IdjPomB 1/BzXmCIcnmZ0xYZTGaCVVCehJXUJXLKMcAK0FDX/LRkSe0qm3KNnjKo69obmRqQ2ysy VsnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gwcQu0HY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id j7si6031454ils.142.2021.05.26.06.33.56; Wed, 26 May 2021 06:34:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gwcQu0HY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S235286AbhEZNEH (ORCPT + 99 others); Wed, 26 May 2021 09:04:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41050 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235084AbhEZNCz (ORCPT ); Wed, 26 May 2021 09:02:55 -0400 Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A8EB1C06138A for ; Wed, 26 May 2021 06:01:12 -0700 (PDT) Received: by mail-wr1-x430.google.com with SMTP id q5so1052050wrs.4 for ; Wed, 26 May 2021 06:01:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=BV2wtRRLMxAa81oGx1tmOdPw4Mr1oYrs9/D1IvLhHvs=; b=gwcQu0HYZp6Q9nuqOI1PH7zqKZF34NqRTAlK8sF1ZlUediO7Mz58Pykew+9wi7LVIM 2miaYwPZHVK/1WT+2w0M1KBIm3vtZ8/movIRvoWST+Uexoyo7sb422yijgENtbMthPQB LuEkxcmrZI4o+fxvRRFTrOP9lG62QdTuMPw6UwlZZ8Tn8M4Qsyuov0Qo87YGcFCvJEgG Safp42bDmyqFPuhSpJPPTAsD8NGc2AuId+CPGXKx5YCRr1gj3V53xD+yY3cappc0oAne fhKpCTuJ00DkVf/ilt/FHdPCcP79jP+cYX6MdtTdU9weUIIuEargeyDLL+Lwj3ZvbyXo bGqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=BV2wtRRLMxAa81oGx1tmOdPw4Mr1oYrs9/D1IvLhHvs=; b=AQwBwqk7TyAnZZcdtYVijNC0wZqMNBfZRDIJjUg6QsVqcsl+PWWEDyVWgbrrB/4E/H 4xW3pelaB+0Jdd5rGuXIc6bDdxHYOwdm93X/SNcgDqFjJBZlr6U3cEsKTtuu2s0fWd6p mBEeSO5+GjluPM14SPJoWVLmnIv4X0Dc6kjiYZ2afkKzRtu3l9TTHZ26oer9Ubig/Ku8 fxv+XnbAW5cnm2xJchfYYQlabkScjkzYQeIOrKS7oFkgRWJYO2nh5sFzVmB4nCrt4HNo 3M+V9D6cTtT3d0IxdB2BfK8Po3iNG66uVVFHAYuH7cCRDqxtNNeANyJ6djFJX+zWmG5v Dzcg== X-Gm-Message-State: AOAM5307sUE3Lrq080164cM/xC+CfcHb9KKvAhv5DlnOX5xABKFo389M 1uI6iQdiCwagPbS2BsYQ/5GSUw== X-Received: by 2002:a05:6000:184a:: with SMTP id c10mr34616274wri.244.1622034071313; Wed, 26 May 2021 06:01:11 -0700 (PDT) Received: from dell.default ([91.110.221.223]) by smtp.gmail.com with ESMTPSA id y14sm6430036wmj.37.2021.05.26.06.01.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 06:01:10 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Heikki Krogerus , Greg Kroah-Hartman , linux-usb@vger.kernel.org Subject: [PATCH 24/24] usb: typec: ucsi: Fix copy/paste issue for 'ucsi_set_drvdata()' Date: Wed, 26 May 2021 14:00:37 +0100 Message-Id: <20210526130037.856068-25-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210526130037.856068-1-lee.jones@linaro.org> References: <20210526130037.856068-1-lee.jones@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/usb/typec/ucsi/ucsi.c:1287: warning: expecting prototype for ucsi_get_drvdata(). Prototype was for ucsi_set_drvdata() instead Cc: Heikki Krogerus Cc: Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org Signed-off-by: Lee Jones --- drivers/usb/typec/ucsi/ucsi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/typec/ucsi/ucsi.c b/drivers/usb/typec/ucsi/ucsi.c index b433169ef6fa4..4e1973fbdf0dc 100644 --- a/drivers/usb/typec/ucsi/ucsi.c +++ b/drivers/usb/typec/ucsi/ucsi.c @@ -1279,7 +1279,7 @@ void *ucsi_get_drvdata(struct ucsi *ucsi) EXPORT_SYMBOL_GPL(ucsi_get_drvdata); /** - * ucsi_get_drvdata - Assign private driver data pointer + * ucsi_set_drvdata - Assign private driver data pointer * @ucsi: UCSI interface * @data: Private data pointer */ -- 2.31.1