public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
From: Mark Brown <broonie@kernel•org>
To: Axel Lin <axel.lin@ingics•com>
Cc: linux-spi <linux-spi@vger•kernel.org>,
	LinuxPPC-dev <linuxppc-dev@lists•ozlabs.org>,
	Stijn Devriendt <highguy@gmail•com>
Subject: Re: [PATCH] spi: fsl: Don't use devm_kzalloc in master->setup callback
Date: Sun, 31 Aug 2014 13:51:49 +0100	[thread overview]
Message-ID: <20140831125149.GF29327@sirena.org.uk> (raw)
In-Reply-To: <1409460249.31873.2.camel@phoenix>

[-- Attachment #1: Type: text/plain, Size: 187 bytes --]

On Sun, Aug 31, 2014 at 12:44:09PM +0800, Axel Lin wrote:
> device_add() expects that any memory allocated via devm_* API is only
> done in the device's probe function.

Applied, thanks.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

  reply	other threads:[~2014-08-31 12:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-31  4:44 [PATCH] spi: fsl: Don't use devm_kzalloc in master->setup callback Axel Lin
2014-08-31 12:51 ` Mark Brown [this message]
2014-09-01  7:50 ` leroy christophe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140831125149.GF29327@sirena.org.uk \
    --to=broonie@kernel$(echo .)org \
    --cc=axel.lin@ingics$(echo .)com \
    --cc=highguy@gmail$(echo .)com \
    --cc=linux-spi@vger$(echo .)kernel.org \
    --cc=linuxppc-dev@lists$(echo .)ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox