Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp161663yba; Thu, 25 Apr 2019 20:25:35 -0700 (PDT) X-Google-Smtp-Source: APXvYqxC1xgzedVGJophhWhtlVxN/VUHTX9DvjYf6NuF0g6xqnctQvZqmzn57go+V9CvaLGbJLX+ X-Received: by 2002:aa7:920b:: with SMTP id 11mr43025280pfo.3.1556249135296; Thu, 25 Apr 2019 20:25:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556249135; cv=none; d=google.com; s=arc-20160816; b=AvSIVTjKqBp6/K2UBdVoSCIkgQoqFjx577+Tbbxc+gNR/8abxp9fCLsV7Ek9NzQV8J B0otRXf8HZa5EwovArauw2gXZZ3Qcv3HYjNhOzckOKm9LB7eQKy9WG7JSuvl1CHQP/Gq DPa6UZKGjGB1HEEWVI9ySyzXxfx08P7vUhNU4l2wRSY36e4ZZSNseWfzB6Hwj/8yhjtW Q52/rstzqtQfNUObCpHL24CNtlbVPhpFCPB6DyL+2/lRuP8hyNOiMe6p4dzGbmpNhFTb jOlJK79JUZc0K2cTd5MT/cGscE1iZf7ukgOgNTCXQbKadfIz4yUL37SBmwPtPlii6ojg Px8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=2J1TjtOstEzmWtLspAyMVLNIkrOKT0VPlYnQGIz+uw4=; b=pOYdWByVfJhS6dqlsNKQa/Epk9Obnt87IbR2j315m0vQC874KDHeB2D0o2bMdcQEwT dlqUBeSRVZm4NkGH1u39wBPgNQRHUf6SpscGMqtRUAssWzziwlNDNNxRbRWhy1t8chiI s4aIs9zSOqdFYVxr8HEvh6yI4ef+ddgsx+wjRxzWPRU7z/mW7RJW/Nn+GxNBLbvbPkFA A12xKPDsb6T5iRTp2Z+ip9MiQnseSZJRLIdZT5VR5dgGTcw+QI4LDUx30sY2JKmuF4dF V+IzPf/Vji8zZ8Z8b7+kTBtYj0A1cF4DagSYsF3TYHnHkvpcPwrITs7Je2WP5KtkarWP R/uw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=udHN4jJB; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f191si22617749pgc.570.2019.04.25.20.25.19; Thu, 25 Apr 2019 20:25:35 -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=@gmail.com header.s=20161025 header.b=udHN4jJB; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728506AbfDZDVl (ORCPT + 99 others); Thu, 25 Apr 2019 23:21:41 -0400 Received: from mail-pl1-f196.google.com ([209.85.214.196]:40703 "EHLO mail-pl1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726006AbfDZDVl (ORCPT ); Thu, 25 Apr 2019 23:21:41 -0400 Received: by mail-pl1-f196.google.com with SMTP id b3so807933plr.7 for ; Thu, 25 Apr 2019 20:21:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=2J1TjtOstEzmWtLspAyMVLNIkrOKT0VPlYnQGIz+uw4=; b=udHN4jJBs3pXVk16n237GoSyhZGfP8O8KDAYlJyn4iJED7j9WSbV+1zmUqg+jJlnPi PRaIOEU5kug5BbH13YwAGbsS2eW5bb/UWaLkxMfFSh/PJiqL/zfzfr0gP5lHldBZM9kW p0IWOJd0KbKCXZ3MZiPvhhzXuruHmlyD+Y/lRGzNHPsFYn9qCtzdsnDDpDBB7DqIPxY+ xWOskoDNaoJk+9eAvzZlKFT+HJzemNiwDrvnNLA3vgywC2bhI+TwS7tCSjYOQJa1iqIG 13gNkOgz40bdUJwCXQ2vNR9VbrwpaQRK4ELcUgWfjqUmPuiSI4l9lVLzw6i83KmAqR3H 8edQ== 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; bh=2J1TjtOstEzmWtLspAyMVLNIkrOKT0VPlYnQGIz+uw4=; b=TOCoI+QvO8w6FLPeNB2rKKTKz7UonahMGGZqJByFicypdB1Nnd1s0rNiFLsQEs7FLq OnwhZkVzwN8y/sWMImRr02NHA1JLBO0Wo5LLP01p/cWAQBCdsjySIs/2yKjKjJVmFAXi FDpKeWQzG9uTDklNN2uY+Vqz+myG+ftOuw1yp/IxBblUTsP4fugiLnObPuKkunJYez2X 7+lxKgiYMCCjb3TGqIDYsBJeDR0MH82h79JcwfDtoc3Co2pCJ+PPaUoerb5rc9Lyjgoy bJ6BInTGF4cUlf02oasc3LzlBCW4mLtyom6viqBJrdoJCS8CfinArMqGmC7i976zvJmF rYEQ== X-Gm-Message-State: APjAAAXnb0JGIVrDizCT08icGIunL6Oy3WbaRlZzez+WNG4Zt3Ytk29U tHP6X9/DXCWpm1SNtDECgSU= X-Received: by 2002:a17:902:b605:: with SMTP id b5mr5024608pls.206.1556248900457; Thu, 25 Apr 2019 20:21:40 -0700 (PDT) Received: from Asurada-CZ80.localdomain (c-98-248-47-108.hsd1.ca.comcast.net. [98.248.47.108]) by smtp.gmail.com with ESMTPSA id 10sm64985956pft.100.2019.04.25.20.21.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 25 Apr 2019 20:21:39 -0700 (PDT) From: Nicolin Chen To: broonie@kernel.org Cc: timur@kernel.org, Xiubo.Lee@gmail.com, festevam@gmail.com, lgirdwood@gmail.com, perex@perex.cz, tiwai@suse.com, alsa-devel@alsa-project.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, daniel.baluta@nxp.com, sfr@canb.auug.org.au Subject: [PATCH] ASoC: fsl_sai: Add missing return 0 in remove() Date: Thu, 25 Apr 2019 20:20:50 -0700 Message-Id: <1556248850-3748-1-git-send-email-nicoleotsuka@gmail.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Build warning being reported: sound/soc/fsl/fsl_sai.c: In function 'fsl_sai_remove': sound/soc/fsl/fsl_sai.c:921:1: warning: no return statement in function returning non-void [-Wreturn-type] So this patch just adds a "return 0" to fix it. Fixes: 812ad463e089 ("ASoC: fsl_sai: Add support for runtime pm") Reported-by: Stephen Rothwell Signed-off-by: Nicolin Chen --- sound/soc/fsl/fsl_sai.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sound/soc/fsl/fsl_sai.c b/sound/soc/fsl/fsl_sai.c index 26c27dc..8593269 100644 --- a/sound/soc/fsl/fsl_sai.c +++ b/sound/soc/fsl/fsl_sai.c @@ -918,6 +918,8 @@ static int fsl_sai_probe(struct platform_device *pdev) static int fsl_sai_remove(struct platform_device *pdev) { pm_runtime_disable(&pdev->dev); + + return 0; } static const struct of_device_id fsl_sai_ids[] = { -- 2.7.4