From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg1-f200.google.com (mail-pg1-f200.google.com [209.85.215.200]) by kanga.kvack.org (Postfix) with ESMTP id 0794D6B538E for ; Thu, 30 Aug 2018 17:53:11 -0400 (EDT) Received: by mail-pg1-f200.google.com with SMTP id e124-v6so5679861pgc.11 for ; Thu, 30 Aug 2018 14:53:10 -0700 (PDT) Received: from mail.kernel.org (mail.kernel.org. [198.145.29.99]) by mx.google.com with ESMTPS id n184-v6si7756315pga.98.2018.08.30.14.53.10 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Aug 2018 14:53:10 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Stephen Boyd In-Reply-To: <20180828093332.20674-5-brgl@bgdev.pl> References: <20180828093332.20674-1-brgl@bgdev.pl> <20180828093332.20674-5-brgl@bgdev.pl> Message-ID: <153566598892.129321.11102576282589539273@swboyd.mtv.corp.google.com> Subject: Re: [PATCH v2 4/4] clk: pmc-atom: use devm_kstrdup_const() Date: Thu, 30 Aug 2018 14:53:08 -0700 Sender: owner-linux-mm@kvack.org List-ID: To: "Rafael J . Wysocki" , Al Viro , Andrew Morton , Arend van Spriel , Arnd Bergmann , Bartosz Golaszewski , Bjorn Andersson , Bjorn Helgaas , Greg Kroah-Hartman , Heikki Krogerus , Huang Ying , Joe Perches , Jonathan Corbet , Kees Cook , Michael Turquette , Michal Hocko , Mike Rapoport , Robin Murphy , Roman Gushchin , Ulf Hansson , Vivek Gautam Cc: linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org Quoting Bartosz Golaszewski (2018-08-28 02:33:32) > Use devm_kstrdup_const() in the pmc-atom driver. This mostly serves as > an example of how to use this new routine to shrink driver code. > = > While we're at it: replace a call to kcalloc() with devm_kcalloc(). > = > Signed-off-by: Bartosz Golaszewski > --- Reviewed-by: Stephen Boyd If you want this example to be merged through the clk tree please resend after the other patches merge.