Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp4853187imm; Mon, 14 May 2018 14:27:34 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoQkzZlc0otSWDElSKEbKd7t7TZyZrxPPbpP2llQvdQUHOwf+zsHiEZmNNJZ0GGuJSP9qDn X-Received: by 2002:a63:3643:: with SMTP id d64-v6mr9715533pga.228.1526333254623; Mon, 14 May 2018 14:27:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526333254; cv=none; d=google.com; s=arc-20160816; b=v/HXEj3D+gZnXM6oC7HwfzgvJgo7O7fInu8toPoW+02pNf+BvFbEK2ngTRIMsdjs8K eir10JaCeFVYjFKRAQlqUmK0ZUC8AnBZnkYM8Wu7o1r4faKnTL0uBK4RJr5lX+2HKcvy cZZnhNTqsMet/1j5dDY/GtgGIIKYLIt+/lsfnmSaUGUzwNyCszBYs58o5IKyHXWQIn6w sR/cpaDXtzVSQ1kisf01+4o+H7gRi8eOda0rxe6TeeDkylVn6JRXvUNC5VsDyvnleQOj eCFdz0mFDN0oAqu7EoohyRwDtqg063bh1Ee2KN2nXeO1xTRboOSG8bd8F1Zo/9R1pBbG q4tQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=y5NoZbYNYgrDMWmJfGr5DalOYENcpjVYjPdxlG5qBgo=; b=XY8xsyvmGhXjLI5KYJ22zIDuon7AEGPTmiS/syFEyaBo4+v3aHx+VaAWfnavkfV3AY 5jEUqNGwntk7d1JeVFyUOLmirnuQJ7LWc2sAOu+Qx/1Y1/DUNGj1iyjF1TeV9Csr2OLq mDJxcV7GXpdC6o10PQAxEULOWL6DShtXWV5puQrKRtqShz4zfMVmZ9m7PimtLwwWz91+ enKxncOGWYUKhdG4extJWyKMMhtczL/Hhjn/hmMcpBpvNFgTWPRVFaI5tpJF7HRjxkcp 5CHJFLLTxA3U77VRfDf27z7tIv/744e7OixMeEf6WKJMM2O1hKIuwlPvszwWLCfMF+Vo lQFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=rWkzBORe; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f39-v6si10613472plb.572.2018.05.14.14.27.19; Mon, 14 May 2018 14:27:34 -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=fail header.i=@gmail.com header.s=20161025 header.b=rWkzBORe; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752687AbeENV0d (ORCPT + 99 others); Mon, 14 May 2018 17:26:33 -0400 Received: from mail-ua0-f196.google.com ([209.85.217.196]:32782 "EHLO mail-ua0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752222AbeENV0a (ORCPT ); Mon, 14 May 2018 17:26:30 -0400 Received: by mail-ua0-f196.google.com with SMTP id i2-v6so9401671uah.0; Mon, 14 May 2018 14:26:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=y5NoZbYNYgrDMWmJfGr5DalOYENcpjVYjPdxlG5qBgo=; b=rWkzBOReRdOZgL+4N/U4IHekKUr7waq9mnwgK4chlBht5/hhLJ3K62uF21fdw4hy27 CxH4GKZXHvNerJCwRfraT0JF6zKJ6lIRe2oRw10G+4q1wKpn10LzvY3uayZ3YBHovfVP +9hLRwhzrvD3IC4yacKIgoLLvtnRBbSwVUK6rYZ37njk3uJnRdZaSIQY/qH+7ojmthWR w0CKA0qGrvIyC/8hIMnOCltN10J46GFTV1ixkeOAcezKjuEV9zzXFyugZdDwSaRRNz7V 9/0qbtdp7YJRjsJMpRMp8pe5tK2qKgDNVRvk34ItlKyve7XyiPmyXYhB2Q47qcmIYHf3 F8vg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=y5NoZbYNYgrDMWmJfGr5DalOYENcpjVYjPdxlG5qBgo=; b=gZblW66slSJiy+wRu8lCktJoV1mmTDQgtaGCFqdR+ZARlOZiCLVO8F2lC6X14DShMl tRDpIpHfqV5fFMqngtbx0XH2x+K5QWcAiOeVEkB4/tSGxEpwNLV1QWHOu/H0SxOHXRfQ U+s9rMoHdJfBIqARy+8HQ0XwZo14HnftakhBXYn8RCUQS1nyC8KSDN7FpGfQR1uNDQTR wyKK4bMc9GGgtV2om00d4316jxpUYjREzrvC04Kc0dMqmthuwIS+Nacw/FGdD9QZBaLE yMaaTF1Yq5tzLQoFXLjAk5jeeDrpilSRmXsbjK6o+g6lP7fkHuJ4Cu7tkM1Ly0fFJC8H iC8g== X-Gm-Message-State: ALKqPweXLG1VTg6bNP8AeTXBbwzvL2MPiDpHlDfGl0rWxZpQbffLWrDM G7GMwPOKI9dz2KxgxZ5BNewLu8afaqU/zeoc4+Q= X-Received: by 2002:ab0:5106:: with SMTP id e6-v6mr14186055uaa.33.1526333189016; Mon, 14 May 2018 14:26:29 -0700 (PDT) MIME-Version: 1.0 Received: by 10.103.122.10 with HTTP; Mon, 14 May 2018 14:26:28 -0700 (PDT) In-Reply-To: <20180511162028.20616-9-brgl@bgdev.pl> References: <20180511162028.20616-1-brgl@bgdev.pl> <20180511162028.20616-9-brgl@bgdev.pl> From: Geert Uytterhoeven Date: Mon, 14 May 2018 23:26:28 +0200 X-Google-Sender-Auth: _kNoVPy9uHREPqNj6VkP-pIodQQ Message-ID: Subject: Re: [PATCH 08/12] of/platform: provide a separate routine for device initialization To: Bartosz Golaszewski Cc: Sekhar Nori , Kevin Hilman , David Lechner , Michael Turquette , Stephen Boyd , Arnd Bergmann , Greg Kroah-Hartman , Mark Rutland , Yoshinori Sato , Rich Felker , Andy Shevchenko , Marc Zyngier , "Rafael J . Wysocki" , Peter Rosin , Jiri Slaby , Thomas Gleixner , Daniel Lezcano , Magnus Damm , Johan Hovold , Rob Herring , Frank Rowand , Linux ARM , Linux Kernel Mailing List , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Linux-Arch , Bartosz Golaszewski Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 11, 2018 at 6:20 PM, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > The early platform device framework will need to initialize the > platform device objects without them being allocated in > of_device_alloc(). Provide a routine that allows it. > > Signed-off-by: Bartosz Golaszewski Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds