From patchwork Wed Mar 10 10:46:27 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heikki Krogerus X-Patchwork-Id: 398136 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5A53EC43381 for ; Wed, 10 Mar 2021 10:47:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1DDC864FEF for ; Wed, 10 Mar 2021 10:47:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231788AbhCJKqk (ORCPT ); Wed, 10 Mar 2021 05:46:40 -0500 Received: from mga05.intel.com ([192.55.52.43]:7688 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231800AbhCJKqT (ORCPT ); Wed, 10 Mar 2021 05:46:19 -0500 IronPort-SDR: Uw7KYmcI2CDaLWyPmY2dmeMX/ExsJ+JY0jqPL5tjEnHOy5ew08ByNJ9gEpu29hHnHPUJ6H30fM 5fwuvG7YdApQ== X-IronPort-AV: E=McAfee;i="6000,8403,9917"; a="273475498" X-IronPort-AV: E=Sophos;i="5.81,237,1610438400"; d="scan'208";a="273475498" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Mar 2021 02:46:19 -0800 IronPort-SDR: AGx4zCPnX+GAtFOHchDDlj7uJAiAe5UmFg0Ij3Yml+GjZ5dPfw0f7TdJuyBqrZhIKmbuRaxj2k Z+Xi101MAc2A== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,237,1610438400"; d="scan'208";a="509624560" Received: from black.fi.intel.com (HELO black.fi.intel.com.) ([10.237.72.28]) by fmsmga001.fm.intel.com with ESMTP; 10 Mar 2021 02:46:18 -0800 From: Heikki Krogerus To: Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org Subject: [PATCH 0/3] usb: typec: tps6598x: Move the driver under its own directory Date: Wed, 10 Mar 2021 13:46:27 +0300 Message-Id: <20210310104630.77945-1-heikki.krogerus@linux.intel.com> X-Mailer: git-send-email 2.30.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org Hi, The driver is going to be getting new features at one point it seems, features like alternate mode registration, and firmware upgrading. Some of those features will need to be implemented in their own files. Because of that, and because the driver already consist of multiple files, creating a separate folder for it. The first patch is a minor fix. thanks, Heikki Krogerus (3): usb: typec: tps6598x: Fix tracepoint header file usb: typec: tps6598x: Move the driver under its own subdirectory usb: typec: tipd: Separate file for tracepoint creation drivers/usb/typec/Kconfig | 15 ++------------- drivers/usb/typec/Makefile | 5 +---- drivers/usb/typec/tipd/Kconfig | 12 ++++++++++++ drivers/usb/typec/tipd/Makefile | 6 ++++++ drivers/usb/typec/{tps6598x.c => tipd/core.c} | 6 ++---- drivers/usb/typec/{ => tipd}/tps6598x.h | 0 drivers/usb/typec/tipd/trace.c | 9 +++++++++ .../usb/typec/{tps6598x_trace.h => tipd/trace.h} | 6 +++--- 8 files changed, 35 insertions(+), 24 deletions(-) create mode 100644 drivers/usb/typec/tipd/Kconfig create mode 100644 drivers/usb/typec/tipd/Makefile rename drivers/usb/typec/{tps6598x.c => tipd/core.c} (99%) rename drivers/usb/typec/{ => tipd}/tps6598x.h (100%) create mode 100644 drivers/usb/typec/tipd/trace.c rename drivers/usb/typec/{tps6598x_trace.h => tipd/trace.h} (98%)