[lkml]   [2016]   [Dec]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH V1] pinctrl:pxa:pinctrl-pxa2xx:- No need of devm functions
On Thu, Dec 8, 2016 at 3:35 PM, Arvind Yadav <> wrote:

> In functions pxa2xx_build_functions, the memory allocated for
> 'functions' is live within the function only. After the
> allocation it is immediately freed with devm_kfree. There is
> no need to allocate memory for 'functions' with devm function
> so replace devm_kcalloc with kcalloc and devm_kfree with kfree.
> Signed-off-by: Arvind Yadav <>

I want the maintainer Robert Jarzmik to review this before I do anything
with it.

Linus Walleij

 \ /
  Last update: 2016-12-27 13:49    [W:0.108 / U:1.492 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site