From patchwork Wed Sep 19 21:32:27 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 147046 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp1196899ljw; Wed, 19 Sep 2018 14:32:39 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbpMoIQcAmCQD3SH3azyP763BtSwC59GCSORK5LBJt9AY+GlgfGHxJFZg2pub41g7v+0AQr X-Received: by 2002:a63:ff50:: with SMTP id s16-v6mr34243981pgk.241.1537392759537; Wed, 19 Sep 2018 14:32:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537392759; cv=none; d=google.com; s=arc-20160816; b=ZHULrshVh6BNKiFUWzCaS5BFFS0g+IcE27sg3tZMpeU3mUezsTaozgnn6i+4uLpAfE 3tIAv7YJfBhQe+5utDihrMZ0xNUDBts6qxFrH1AsFbCripT5zEKeLXwNjRNeXXlFxgtX 9GRoWFmhyli0rboTIY2YfdWir88PS/gYWhc4CDV4Ul4AGCIrSLXsKs/HRliapnQvXlm2 mmImtB2jE12yo6Er5Ko0GJbB1Qp649BTce3cxCNHBomIguiIen9OSYkwJoyengNUr8ou o0lJ5aT+7D++oRnUBW/A22G4QnmZZ3THLqVcgprJOx8YVngp/K7rs/vyrv8MJPFJnBPm 8ibg== 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=PzdWd2mtb/nvPV2IhoDNDYA/rSI1lOYNytq/vU+Td/4=; b=xJT84mq8AfZpFuBeAR+RHJXCu5wz7p7HYxWfwASf+BHALwyVacI6sAk5Nh1JC17ot2 i9YNSPuD8NSW19sfGHxnWJ98y1upLuTVAr/xs20dPXaTguqrcfFrl97u3iPIDIZTz7mF JFY1ZzLnW8kQ/qDyqf6mDzw+tCZaxP0ggOF9gqwG1B51M0K5GNq+u5yKNRrOHJsZpNJ/ tDL+6GdWhPJ0aJE4REwp06GxodG1rB+RKNeeY2131YiCad+ASFmzFcWfQ244B4fhxWAW Z/2EY6Rzj0TQl5UtvKP+EtyNwnrDGYbt/CfuKf/d1u83rs4NwKJO4NK0+mR1CY8+1jQj lm4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XkFZrDNd; spf=pass (google.com: best guess record for domain of linux-pm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-pm-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. [209.132.180.67]) by mx.google.com with ESMTP id s7-v6si21820499pfm.217.2018.09.19.14.32.38; Wed, 19 Sep 2018 14:32:39 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-pm-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=@linaro.org header.s=google header.b=XkFZrDNd; spf=pass (google.com: best guess record for domain of linux-pm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-pm-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 S1732862AbeITDM1 (ORCPT + 10 others); Wed, 19 Sep 2018 23:12:27 -0400 Received: from mail-pf1-f194.google.com ([209.85.210.194]:47007 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732852AbeITDM1 (ORCPT ); Wed, 19 Sep 2018 23:12:27 -0400 Received: by mail-pf1-f194.google.com with SMTP id u24-v6so3281898pfn.13 for ; Wed, 19 Sep 2018 14:32:38 -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; bh=PzdWd2mtb/nvPV2IhoDNDYA/rSI1lOYNytq/vU+Td/4=; b=XkFZrDNdxh9jYEwRioSj+NknnXyxkQRGcbeXDYp5iqtP+M96MvkF9dLYVTTSHx1KeI UpCRbO/US02FsbEpjgHWsC+7AmyzpCKDbOys0zJsUK1QEyPdya9IH8DxsnoCuA6Y3zxU ipysodcFDlfU4EnOYf+UxnhLoDFOuz37HJAMw= 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=PzdWd2mtb/nvPV2IhoDNDYA/rSI1lOYNytq/vU+Td/4=; b=PCy8gwRU3KO2pe1lHOJOy63vuo/QgWXqG45NXi0+SXA2ajNqrb9s9I9bM6EbIodODn k32erF+NogOgx6FylkXli1LOVOeDodxsXi2zx6s3KLz4tspkdgpr3FAQB2oxvnLV5DBW +LHEOn38C4atjzUELin0DC0cZG35bXSyVgpYyTL4wAbgkvAYZj56PKtIU9eFBWUljryx Fy7c9r1I9XFPTsElD9qOdrG5ChwVXOvf1Yg1Vq2AbdyiZ7xezLpJXKAsW7M8JkNb9uL3 X6ylNEFn4akF2yUTh83Wh5stcwp43MPHB97HwNclaXItMGc1gKwDdSwf8zXfbfqrIaIi WABg== X-Gm-Message-State: APzg51Bu5/GS9Ihd5umlNzDWubIEi6w9bqQKbQnRyTEFpWB9KHJ0srop b6YHiSRO518lfiiqWrPZeDcqUg== X-Received: by 2002:a65:5c83:: with SMTP id a3-v6mr34506524pgt.164.1537392757559; Wed, 19 Sep 2018 14:32:37 -0700 (PDT) Received: from localhost ([209.121.128.187]) by smtp.gmail.com with ESMTPSA id g5-v6sm28610476pgn.73.2018.09.19.14.32.36 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 19 Sep 2018 14:32:36 -0700 (PDT) From: Viresh Kumar To: Rafael Wysocki , Ilia Lin Cc: Viresh Kumar , linux-pm@vger.kernel.org, Vincent Guittot , natechancellor@gmail.com, linux-kernel@vger.kernel.org Subject: [PATCH] cpufreq: qcom: Fix section attribute for qcom_cpufreq_kryo_exit() Date: Wed, 19 Sep 2018 14:32:27 -0700 Message-Id: X-Mailer: git-send-email 2.14.1 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org This is an exit routine and is marked with __init. Fix it. Signed-off-by: Viresh Kumar --- drivers/cpufreq/qcom-cpufreq-kryo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.14.1 diff --git a/drivers/cpufreq/qcom-cpufreq-kryo.c b/drivers/cpufreq/qcom-cpufreq-kryo.c index b8d1e6875f16..cb7063797c01 100644 --- a/drivers/cpufreq/qcom-cpufreq-kryo.c +++ b/drivers/cpufreq/qcom-cpufreq-kryo.c @@ -221,7 +221,7 @@ static int __init qcom_cpufreq_kryo_init(void) } module_init(qcom_cpufreq_kryo_init); -static void __init qcom_cpufreq_kryo_exit(void) +static void __exit qcom_cpufreq_kryo_exit(void) { platform_device_unregister(kryo_cpufreq_pdev); platform_driver_unregister(&qcom_cpufreq_kryo_driver);