From patchwork Fri Jun 10 12:44:20 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Amadeusz_S=C5=82awi=C5=84ski?= X-Patchwork-Id: 12877576 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D2D50C433EF for ; Fri, 10 Jun 2022 12:46:21 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 052A21F59; Fri, 10 Jun 2022 14:45:30 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 052A21F59 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1654865180; bh=okJo3Ekg93CoCM8n/hdpy8i06qkXjbI9BeToazTKuqQ=; h=From:To:Subject:Date:Cc:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=PRiuSc1aukVGUAstpIlDoMYCReqZmu+DX2QdpuKqPgUklEax6Zyg+/3PVeooDg8gy mFGXatnyMz7N60wkr8E7KN00fNi09FgY9AsFtebtSnl2lsZtU7cVOZgI4Ykpt95es7 4YYcMDuMe1CxUhBGunWJZRSGAAanDXr+/hq8k2wI= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 94DB3F804CF; Fri, 10 Jun 2022 14:45:29 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id F2639F804D2; Fri, 10 Jun 2022 14:45:27 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id CF45AF800E5 for ; Fri, 10 Jun 2022 14:45:20 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz CF45AF800E5 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="P1BnqOV2" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1654865125; x=1686401125; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=okJo3Ekg93CoCM8n/hdpy8i06qkXjbI9BeToazTKuqQ=; b=P1BnqOV2LMEI9Ta48SeeTB90LWBVqvu+5rwHhwXt0nP1ORq8i/hbdqKI Zb1wzNKIAXnvaT6F/QP34GzsVoy0segIy5V5O+Nr9fMN8X7g+ybPxK2G3 RzT+rPgzKFxcjDDtP4nG0d6WnK7Uzs6gYateUhbdS9PTE9E4iobSRK33Z 57V3QQVX1Z4PD3opZHyqpDfkbYKmoiXwLzFNu0BeSVqhG5/8RKACkBOzZ T7QOyCgjsDgZBclo3IdEVVBBYcFcXtFZi/z+JDsRERPdeTYGpGo3/er37 qlhj0j/v94CclF4DneM/S9ops0D6+N2IWqtxR81F/FJ9xVcJnPEeeuP34 Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10373"; a="260736420" X-IronPort-AV: E=Sophos;i="5.91,290,1647327600"; d="scan'208";a="260736420" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Jun 2022 05:44:02 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,290,1647327600"; d="scan'208";a="610710574" Received: from dev2.igk.intel.com ([10.237.148.94]) by orsmga008.jf.intel.com with ESMTP; 10 Jun 2022 05:44:01 -0700 From: =?utf-8?q?Amadeusz_S=C5=82awi=C5=84ski?= To: Cezary Rojewski , Mark Brown Subject: [PATCH] ASoC: Remove unused hw_write_t type Date: Fri, 10 Jun 2022 14:44:20 +0200 Message-Id: <20220610124420.4160986-1-amadeuszx.slawinski@linux.intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Cc: Liam Girdwood , alsa-devel@alsa-project.org, Takashi Iwai , =?utf-8?q?Amade?= =?utf-8?q?usz_S=C5=82awi=C5=84ski?= X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" Commit 81da8a0b7975 ("ASoC: remove codec hw_write/control_data") removed use of hw_write_t in struct snd_soc_codec, but it left type definition. Fully clean it up. Fixes: 81da8a0b7975 ("ASoC: remove codec hw_write/control_data") Signed-off-by: Amadeusz Sławiński Reviewed-by: Cezary Rojewski --- include/sound/soc.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/sound/soc.h b/include/sound/soc.h index f20f5f890794..b276dcb5d4e8 100644 --- a/include/sound/soc.h +++ b/include/sound/soc.h @@ -408,8 +408,6 @@ struct snd_soc_jack_pin; struct snd_soc_jack_gpio; -typedef int (*hw_write_t)(void *,const char* ,int); - enum snd_soc_pcm_subclass { SND_SOC_PCM_CLASS_PCM = 0, SND_SOC_PCM_CLASS_BE = 1,