Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp585856ybe; Fri, 6 Sep 2019 04:18:12 -0700 (PDT) X-Google-Smtp-Source: APXvYqzhcivwo6ARnAymgL+BhUAd26lc2Fm9j7XPKTy55ZW3yxiVbtmwCBMIUdlCNPZOYvnueziS X-Received: by 2002:a63:1918:: with SMTP id z24mr7200961pgl.94.1567768691909; Fri, 06 Sep 2019 04:18:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567768691; cv=none; d=google.com; s=arc-20160816; b=s7zWOUAr+ZRolXl/tnqnHlFRuTs3+LqMWfeeIERBO5LcDjU0anLYc/huqK3yjaF9Qp 7FO3Vwc649HTESwIozshU2fQxgRmf8lUhWj5leod+yMPpnxMmcybNLm7UeL052xxEPWo 20VCw7b3eEpaSgwdw6BkIV4SBxrVxIFeIjbu+EEKrqR0sxF9dgX1cxhnFsv/grXpBtA2 3b+GWF0OLkfUp3kYO/wBS/DT0FrB5pvkrOnCQkTU/rYB8xSlahxJt8ZNZg2ZgnDQXIex dfvHgVmBuLe75hJ1Ktz4d+yCEYH/l39RQ7Gj/SQC07ow52JFiRiyNNCmzeSqDWH0Abis f1BA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:cms-type:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature:dkim-filter; bh=WuzwCUYV2cdfl7qLbkBAHqDKsnTlIX0yAhB2QMQqk30=; b=AC2YCBarAAl0q6hLoOV7FBmMg9ezTGSkqXb1cR/vo/rIoLfEI/eip2OKuBng1WNvFW HLxojLj4rmO//mYttiHYWsxK2uowWqKrDKChpIW6Ku16NM9TQQ42Adt3XWkPEKvxRVPl KQh8Y06Vlbi3XVXhqAOV5VmH72qbDFqeN9Ua1NDjMTmnVnAjx9QbKmlSp2TG54tbvUuO HhkPRSyQx56S1Mvhm/XbXejTwbzpvM2EGLsutM55Dy6O2MdZJPvP9TZdwBBGBWJ++jK4 R5fuSlta5pdGrKeAGNOGBkm1gMQYdG6ZI2IstKP4wkWlXv6VjvV5HC4mB7tRU2dh8bJq 0Cog== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=A63medX+; 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=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q10si5257243pfc.288.2019.09.06.04.17.55; Fri, 06 Sep 2019 04:18:11 -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=@samsung.com header.s=mail20170921 header.b=A63medX+; 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=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2391866AbfIFKOZ (ORCPT + 99 others); Fri, 6 Sep 2019 06:14:25 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:50693 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390895AbfIFKOI (ORCPT ); Fri, 6 Sep 2019 06:14:08 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20190906101407euoutp01f1a86b3e80ad599e4bf91ae9265a3fda~B0dKFw2NW0929309293euoutp01E for ; Fri, 6 Sep 2019 10:14:07 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20190906101407euoutp01f1a86b3e80ad599e4bf91ae9265a3fda~B0dKFw2NW0929309293euoutp01E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1567764847; bh=WuzwCUYV2cdfl7qLbkBAHqDKsnTlIX0yAhB2QMQqk30=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=A63medX+1JY83V1tg7q6yFeeXbxIlZKFMsLu9c/5GHwI+hJbNYkMrPfisXmXdXgMO k1uP6jOsvoydbvHJu0YwzIqujjcd9IDja1mfMLINtiFIU/JB+bBn77n1i+ydqbVCuq AxyAFez+HHxhWnLlNbE1vYkA0RpUTO0HWwsoJfWI= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20190906101406eucas1p2dab289502ae4d19bca00c58b64cbb50a~B0dJP-wP_1006510065eucas1p2u; Fri, 6 Sep 2019 10:14:06 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id 63.C7.04469.E61327D5; Fri, 6 Sep 2019 11:14:06 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20190906101405eucas1p2e3da7b461810a3a520e76c636a06e486~B0dIkS26A1006510065eucas1p2r; Fri, 6 Sep 2019 10:14:05 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20190906101405eusmtrp1c640308e8ab83c4ae2f8dfd9cdeeaae3~B0dIQh6Mn1272412724eusmtrp1a; Fri, 6 Sep 2019 10:14:05 +0000 (GMT) X-AuditID: cbfec7f2-994db9c000001175-e4-5d72316e83a3 Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 2A.9E.04166.D61327D5; Fri, 6 Sep 2019 11:14:05 +0100 (BST) Received: from AMDC3778.DIGITAL.local (unknown [106.120.51.20]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20190906101404eusmtip1d71620cc9f795288ce2881dd16b7cf9e~B0dHYdujW3027130271eusmtip1a; Fri, 6 Sep 2019 10:14:04 +0000 (GMT) From: Lukasz Luba To: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: b.zolnierkie@samsung.com, krzk@kernel.org, kgene@kernel.org, mark.rutland@arm.com, robh+dt@kernel.org, cw00.choi@samsung.com, kyungmin.park@samsung.com, m.szyprowski@samsung.com, s.nawrocki@samsung.com, myungjoo.ham@samsung.com, willy.mh.wolff.ml@gmail.com, Lukasz Luba Subject: [PATCH 1/3] memory: Exynos5422: minor fixes in DMC Date: Fri, 6 Sep 2019 12:13:42 +0200 Message-Id: <20190906101344.3535-2-l.luba@partner.samsung.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190906101344.3535-1-l.luba@partner.samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA0VSa0hTYRj229nZOY5mxyn5oiNjEZSgZkR8kJmRwf5U0g8rQ2rpybxN3fHS labZTdPZIjOzi3TRprI5dai0Sp3NCpsWalpmKmSaKXijoiLnmfXveZ73eb734eWjCWkt6U3H qdJYtUqZKBeJhebnP+z+qiB11PrmqeW4pthA4t7ZURLfsb4msXbkK4HtdiOFO7InKNyvkWHT SA+J3zaVivBMvhXhYvsTAa62DlD4QW+XAL/PqhDhcxYrhVsnLpB4vn0Yhborqm5XIUVjyQCl MOkviRS1988omicfCxQFdXqkmDGtDKcixcExbGJcBqsODDkkPjpZ8hSlzFPHCrM3aFC/KBe5 0sBshLzOUioXiWkpU4Hgxth3IU9mEfzWF4h4MoPAZLQIlyJll0adg3IEmiu1gn+RvvryBULT IiYAGvSpjoAncw/BfGukAxOMWQD5czIH9mCCwWCqXuwhZNbA2GzjIpYwITD6sw7xy3yh0viM cGBXZivoDNcW6wHTQkFp95yAN4VB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VlyZe4hRgoNZSYR3/UagEG9KYmVValF+fFFpTmrxIUZToKMmMkuJJucDozivJN7Q1NDc wtLQ3Njc2MxCSZy3Q+BgjJBAemJJanZqakFqEUwfEwenVANjUxqPbcb1uFe5h15mNOlzFa8P Trm+c0mv0NmlPr8Pqk8N1vLt0XRTvj6nL9REZ5L9pf6YbMusYJ+9/4Nv/Gmb3ZGZWVEp/YE5 NOPtqh88Jjf5JF9HiIQtfmN2cNW39q9xPZNXBqeEnj7CYbLsgOql4JLmww9bftxYODsvdPtO 0YWsalsu1W9UYinOSDTUYi4qTgQAk7C8yaoCAAA= X-CMS-MailID: 20190906101405eucas1p2e3da7b461810a3a520e76c636a06e486 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20190906101405eucas1p2e3da7b461810a3a520e76c636a06e486 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190906101405eucas1p2e3da7b461810a3a520e76c636a06e486 References: <20190906101344.3535-1-l.luba@partner.samsung.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Small fixes captured by static analyzes. Signed-off-by: Lukasz Luba --- drivers/memory/samsung/exynos5422-dmc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/memory/samsung/exynos5422-dmc.c b/drivers/memory/samsung/exynos5422-dmc.c index 8c2ec29a7d57..a809fa997c03 100644 --- a/drivers/memory/samsung/exynos5422-dmc.c +++ b/drivers/memory/samsung/exynos5422-dmc.c @@ -269,7 +269,7 @@ static int exynos5_init_freq_table(struct exynos5_dmc *dmc, return 0; err_free_tables: - kfree(dmc->opp); + devm_kfree(dmc->dev, dmc->opp); err_opp: dev_pm_opp_of_remove_table(dmc->dev); @@ -732,7 +732,7 @@ static struct devfreq_dev_profile exynos5_dmc_df_profile = { * statistics engine which supports only registered values. Thus, some alignment * must be made. */ -unsigned long +static unsigned long exynos5_dmc_align_init_freq(struct exynos5_dmc *dmc, unsigned long bootloader_init_freq) { -- 2.17.1