Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3629508pxf; Mon, 22 Mar 2021 10:54:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyqACbKf0625i+I13qFfQWVGWNHF57eQK/I8EpFM8vx50y97dU+8HSjpkuxl0aWSFDsmjZE X-Received: by 2002:a17:907:2bdd:: with SMTP id gv29mr936609ejc.259.1616435699057; Mon, 22 Mar 2021 10:54:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616435699; cv=none; d=google.com; s=arc-20160816; b=yWhDfLQUmoCdDEvCaNiF8EBVEhGM0y+F+NcKm+6eEfCyLvqCCgJRjgSvbrGaNSz8Mm zoCK6tplTg0pwHKz7bc4CrT5FnegqyUnGg/WhR4yB1kHe3CGWZgZetYwrrdK6gdXset4 L8iHvERfSAT5/Aus2EEmtegz5gwjjqxokQk0T5hu+mouuJHLI8648eToH5oObIqQoouN PhvsXkdhmEwsEtKThyUPa5AGBd5knKq3z2EYpLgrro2gCRrkP10n9GNG0maG5DBTlvVr XG325fRFu9+3Iftk2uCmexTTYIoL+m88q3BUFj/5SYuukUvc/rqntoylu5yZ9vG1Tzgp xeBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=51zGCqBXl43ZX311IoQVz5nD7uSEuSK9azOqp9/NNbM=; b=GhsP93DUS3m3QY38kvYJQay35EfupBkZWEmj98h9bNRjd3h789qNmf1ftgawWaippk 7KKk/nJ3hRB17ZGNPm/b8DWhSyD23/eohPEbFNo2OIoBsPzh9rWUAfV+hk5dOltYMVpK ERwcFp8dBs4w6g2k1Pj0KE7Sb8OwHL6jwlJRBrJerJHTZC1K930ki1gRe5EtilhfCKAv uG7JxHUC9irDK3II2o3rljKQu/rif91ZrZvQoT/BazYl3+nb0uhECDrfb8C6zC3ac7ei xgLsQb2cRprYHf9WRFLt1E7oOcMahxjyeGEqi717rm05usSFo/iaN22BrVPjVe3ecxoS Pv8A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u8si11859260ejz.667.2021.03.22.10.54.36; Mon, 22 Mar 2021 10:54:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230334AbhCVRxd (ORCPT + 99 others); Mon, 22 Mar 2021 13:53:33 -0400 Received: from mail-vk1-f173.google.com ([209.85.221.173]:41683 "EHLO mail-vk1-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230214AbhCVRxM (ORCPT ); Mon, 22 Mar 2021 13:53:12 -0400 Received: by mail-vk1-f173.google.com with SMTP id o85so3997492vko.8; Mon, 22 Mar 2021 10:53:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=51zGCqBXl43ZX311IoQVz5nD7uSEuSK9azOqp9/NNbM=; b=p+uTj9SB+SWIOU4RI9xGoSOSVyDFLxRwwLxzxlzFOV6/FlvsyhDj11e3dV65r3Fn4X 7I6IntLTgOqaJH3RxykloS+jyz3k9gRoVlFiFJVNfu6ZGDlPPam6LHC3TcivMOBaXg1S YyV8lJwlQ2TogEAQHtTOGeCwtbAHjqH/hSH/Llp6wepTAjA7RtxrN7ua5Epj4OwAqhYd o9b7NjBmnQ34kIaLAtjdYaERw0awpSQsyvoMxfLlIkLEBzhh6BG7scZrjD22wJ/NGOa0 IxR/6YzhZT+i7tZDi/EwbePkRW9yoxAjOUlsdaaSJqrVX46MgmXiS3W6w+d4lOnGemSx wKKg== X-Gm-Message-State: AOAM530UgN9k6YJWeZMTx0xcsriPWW8E2tFmpPqxO1NP0D1vUVRwRtrg A2q+rHNGp/bWtdlhpGPmaT/zcaS4hTrUMVMyt0k= X-Received: by 2002:a1f:2502:: with SMTP id l2mr875345vkl.5.1616435591316; Mon, 22 Mar 2021 10:53:11 -0700 (PDT) MIME-Version: 1.0 References: <20210322144848.1065067-1-geert@linux-m68k.org> <20210322144848.1065067-5-geert@linux-m68k.org> In-Reply-To: From: Geert Uytterhoeven Date: Mon, 22 Mar 2021 18:53:00 +0100 Message-ID: Subject: Re: [PATCH 04/17] auxdisplay: img-ascii-lcd: Add helper variable dev To: Miguel Ojeda Cc: Robin van der Gracht , Rob Herring , Miguel Ojeda , Paul Burton , Greg Kroah-Hartman , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "open list:BROADCOM NVRAM DRIVER" , linux-kernel Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Miguel, On Mon, Mar 22, 2021 at 5:59 PM Miguel Ojeda wrote: > On Mon, Mar 22, 2021 at 3:48 PM Geert Uytterhoeven wrote: > > + struct device *dev = &pdev->dev; > > Do we want helpers like this to be `*const` (assuming they can)? (same > for patch 12). No, e.g. the devm_*() functions need to make changes to the device's structure. 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