Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp201097ybt; Mon, 6 Jul 2020 07:21:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxZAJz+jn+J3SrkWEO65U3MElxP97yFXyXcByyNOdy8ahJf+ANE+4dYOZ3olOMHB4755i73 X-Received: by 2002:a17:906:eb93:: with SMTP id mh19mr42310527ejb.552.1594045313457; Mon, 06 Jul 2020 07:21:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594045313; cv=none; d=google.com; s=arc-20160816; b=Bldg4fSUto/sk/cnkZfMcip/w73sr6D8bGyGwT0qw+lyW5qhmUUdQIQrkIgsx+UvcM XtP//OcdkOc2saWm1bU7k5PhB/2bF1UEo3GGVigvwOHyWtW6UymcwfN6nahthbaMJNRP 0Uoh/o5pQwynUcVLZ2Uw1n+ZE4/yAeivF0rfnDzt8PkGNfk80WC4HvQgBdVNhIOM1EZj iANDJsSZcF6Q4i/k/EEK6z4Yp6KdMGS3v8zLjegGHZXjJI9rPkMui/wkrVQc+fdMY8KO myVpFbPRlqLN8wgtyW1AfHhfL/iii0LjG5++iZf27QqXDnpTtClP2S8s/fOtlk4ASiAX 5aaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=/SQQ7AOqnp0abV0mTui8yYrs1UAgtqLR05qcleZcwQE=; b=fuz6P5Pd7SYlcH85LjzE3QAsYyY55r+CVWjSgTR70A5J/sIlzJH+DCqBLOgEZwUb7n plwKv4HKAKhovYpvQ3TVI4alHANFJIchu1YoNZEr92EJCgDRxKA9NJrhoAF5QafQ8dJf LP2NLq8D9yzGf2ZUM8hbfa7aPIO3oId79+oskTN13ELmk0OjJSljfF6l0L6oZP330IN/ MZJ36nU/huL9NdtMVVdgfROi9RTP0zyoDFCtspO0eC6rjV3Oyq7XVGSQU9dJF2NWp0BJ nzWfdLkI2H2i2BZHUqCAAnHxLj1bTTvh84qDXv+R1ILpUupi5OSXCTPxHucB+2TABgUm Ox/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Ed6Jrprb; 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 l21si12763361ejg.690.2020.07.06.07.21.29; Mon, 06 Jul 2020 07:21:53 -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=Ed6Jrprb; 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 S1729247AbgGFOUz (ORCPT + 99 others); Mon, 6 Jul 2020 10:20:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54512 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729140AbgGFOUz (ORCPT ); Mon, 6 Jul 2020 10:20:55 -0400 Received: from mail-wm1-x341.google.com (mail-wm1-x341.google.com [IPv6:2a00:1450:4864:20::341]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1968AC061794 for ; Mon, 6 Jul 2020 07:20:55 -0700 (PDT) Received: by mail-wm1-x341.google.com with SMTP id f18so42382113wml.3 for ; Mon, 06 Jul 2020 07:20:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=/SQQ7AOqnp0abV0mTui8yYrs1UAgtqLR05qcleZcwQE=; b=Ed6JrprbDjk8AXD6SCOI9yh0CysVyAtZO2nt/f6l1uLVAF7tPqo9QHp4648VE6/P0J iJd3+qHMbx5g2R1VjGTps0BZqc1+nkfAtJ/DC0I/fty8HyNAXW3hQewEgWXpZQsoLOZd FNf6j1vFI9bDcSZ19YcgSjidaauF0qGEx+UPTOMQVosbA7mKScWrXlbSiIyC8j4b2kTz jQxjB+VuO/AByLPP+2/rnzTx6HTicNZY68TyLXs/k9slS+eZTpkmcJvLRvAKx+JyDmwI PdzTFhyFHuxZvHNiDL4SdAdv6hIll/6VmdF8GZqofG4QIjSUW5v789VNT8yUZRQAyw7i 4C+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=/SQQ7AOqnp0abV0mTui8yYrs1UAgtqLR05qcleZcwQE=; b=tEK2atE8nZKLgflxpt5v9jpshdIFdMd/OBilzJWzHMYCa5JrXYxqJ/ZeIKq6493hZb 69P1GXL/wzVf0R4QvUQLzxcWK6g+1TNCtJAM3nEFGZNYRDxOzAyiZFlxio/uVPv59r7X wTp//JgHKAqkLdn5fi4eAtGcIJlwBxbm9rBbv87msBavMyiqXGndzzLrMcUD11mhPShH 7Ujw9scdwYLHazZUGDm2Ercvfj2k8FOYNGfBFKMrLEPqVcG2VwKO8OWML8/GAAgIIXyo lCZG9I17kZrJXZEpbLImP2qaUYEdj35CapVRrH/rLcsskwY/zdatBvFeEq8KXCu9pP3M Wr/g== X-Gm-Message-State: AOAM531ozJh/Dyz9THt90SlaeV4CJla9SQyHhpQmfkOh6VkDg1DL1g27 s3u6YHYs7cHiSY5Xv8AilySVcg== X-Received: by 2002:a1c:1fd1:: with SMTP id f200mr48281159wmf.162.1594045253749; Mon, 06 Jul 2020 07:20:53 -0700 (PDT) Received: from dell ([2.27.35.206]) by smtp.gmail.com with ESMTPSA id x7sm24950797wrr.72.2020.07.06.07.20.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Jul 2020 07:20:53 -0700 (PDT) Date: Mon, 6 Jul 2020 15:20:51 +0100 From: Lee Jones To: Hans de Goede Cc: gregkh@linuxfoundation.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, Guenter Roeck , Heikki Krogerus Subject: Re: [PATCH 08/32] usb: typec: tcpm: tcpm: Remove dangling unused 'struct tcpm_altmode_ops' Message-ID: <20200706142051.GA3500@dell> References: <20200706133341.476881-1-lee.jones@linaro.org> <20200706133341.476881-9-lee.jones@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 06 Jul 2020, Hans de Goede wrote: > Hi, > > On 7/6/20 3:33 PM, Lee Jones wrote: > > Looks as though a079973f462a3 ("usb: typec: tcpm: Remove tcpc_config > > configuration mechanism") pulled out the only use of 'tcpm_altmode_ops' > > last year. No need to keep it around. > > > > Fixes the following W=1 kernel build warning(s): > > > > drivers/usb/typec/tcpm/tcpm.c:1551:39: warning: ‘tcpm_altmode_ops’ defined but not used [-Wunused-const-variable=] > > 1551 | static const struct typec_altmode_ops tcpm_altmode_ops = { > > | ^~~~~~~~~~~~~~~~ > > > > Cc: Guenter Roeck > > Cc: Heikki Krogerus > > Cc: Hans de Goede > > Signed-off-by: Lee Jones > > This is necessary for adding Display port over Type-C support > on devices using the tcpm code, rather then firmware, to do > the Type-C alt-mode negotiation. > > I have a local patch in my tree which adds support for this. > > But Heikki did not like my approach, so that patch > (which needs the bits you are removing) never landed > upstream: > > https://patchwork.kernel.org/patch/11199517/ > > Which is somewhat old now. Yes, that's a just a little old now. If it drags on for much longer, perhaps consider taking it out for the time being and adding it back when you start to make use of it again? > Heikki said he would look into an approach to this more to > his liking. Heikki an progress on this area? -- Lee Jones [李琼斯] Senior Technical Lead - Developer Services Linaro.org │ Open source software for Arm SoCs Follow Linaro: Facebook | Twitter | Blog