Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp610074ybt; Wed, 24 Jun 2020 07:05:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx7LYET1aFwnzooxouVU0qOVk/nfxPDvHHlQexeiY4UVcoWrk3Cm0vQrFGoI5/WQYX8VuKe X-Received: by 2002:aa7:dcc8:: with SMTP id w8mr8145121edu.305.1593007549046; Wed, 24 Jun 2020 07:05:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593007549; cv=none; d=google.com; s=arc-20160816; b=zlxHsu06DKGX7LBVyZD4S0nywldKX2vSjBZ+qWG8hkd+UfFH1wH0Ts6ERg2ndfyflz bufgjn2ex/QNOAET5NKLdwQicxnqtEUj8Oim6AlkbYrVvUdXdE7cM+9BWJsxYVyBEzAC w8SC2m28or6nikhPK8yU+/BGQkAfiKawP3QiSnwTdJfk8ksUK7PSNwPoZbFK8ThWM+lH RHgyyzFBY2Gp7tPdypNBRX0G2wfHNtxZftNHiuaxPRUrWzaWgmEpMwDxozqhY/EkAw4m nQi0sSHuFAvvWFBnia4arE4M5jRh1uaj9V06377H5Z0QpRv21iNa+V3OsHRUJk2Mzlk1 cgfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=wyf+7sUhkjsKJxaULvE9OAhhFZnODU9DJn8C1+YEqPI=; b=kXS3mT3omI50NVfcDOeqHdeXTPLA9HeThRgT17ZGpJZ7Sin3dYLXJHP24C4JOrtomq 2+roffI1QVK9j0gkh7TkgaDTBQItA2pix2KMT16JVVCYHR/IfqZ7nfzb20P0dw7867xF ogwQmva/jyn0JnZ1mr5D52zU4kBwDI/shgnBeZgWgtBMhiUKziH6mVSgQZiOHCgCB+at Jl6GNog/xTBULJY1VqDy0NOuGY6Qdxhh5uI2e1K33WAWBt/Klz/irGfUhFTW4vuE8FdW 3bHCVgaYkmfGEAJkbV1UGnTHX8dnlP6dqBDhrsdHF2acOv9JZPDiCHR4fGK2SgieDwv9 1F2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=cXxIKXww; 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 ch16si3052236ejb.608.2020.06.24.07.05.25; Wed, 24 Jun 2020 07:05:49 -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; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=cXxIKXww; 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 S2404059AbgFXOEV (ORCPT + 99 others); Wed, 24 Jun 2020 10:04:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46574 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2404002AbgFXOEV (ORCPT ); Wed, 24 Jun 2020 10:04:21 -0400 Received: from mail-qt1-x844.google.com (mail-qt1-x844.google.com [IPv6:2607:f8b0:4864:20::844]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3B8B8C0613ED for ; Wed, 24 Jun 2020 07:04:21 -0700 (PDT) Received: by mail-qt1-x844.google.com with SMTP id g13so1716849qtv.8 for ; Wed, 24 Jun 2020 07:04:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=wyf+7sUhkjsKJxaULvE9OAhhFZnODU9DJn8C1+YEqPI=; b=cXxIKXwweoNm7jUxo3j6FamJztE0yljarsX8GyAAsL6cx9yc0VoyPcG/hnRxHwbv0y DjTHXF8Xwq/OoVtEnZ9kz9yUD/x5NsEA0QQPQeZgu7eJLBoEb+uCLyiNvbCOuotce6di zI2f0LlMTY1wfe0aBE4BOLt6yKoSZfk7yVP05KTA351ZCMsyQFQ33KRpCFuGVj8XO8eV xMANoZW1miE4JY/qdjwJdI1GNuY5UC8N3kI11TzAiRZUrrc16rFtA2ynu0d6IM0erW4f KY1o6hVej2DSDBfXmRtvnz9nxzfaUgdW3+nNJWCiYnffV3xpSlxhEsP1gCVBuoDz0ZlD Vt6g== 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:content-transfer-encoding; bh=wyf+7sUhkjsKJxaULvE9OAhhFZnODU9DJn8C1+YEqPI=; b=emd4EY5JOaIWot9bkIl4eJlv72AJByzBr4p+cr+jKyQypW3YvKDmdbu3XwQonC2aG1 ohVySUIHtnS90gh04aA1vdoLdmEU6purZhkCRD9oByRGS881OTTPLUbnHGijwCdeZzhB NNOmc7TNWjxWLFOmQjvOyrU0F4gbsIF0kfRiTlxdxG7Pz15chayqb/sqvkMCX0atsWfv OdNhuQO1tIZpTGYzjTvLA1MU0XXd0ik2ehinKLZqS/hMuAa+kdpwgimsAgnOp1SGW7zp U6fgX/JIcRE1+HQSrQy5dozs21AyQHzbj9d/dVxE87a7f6hCr3x6qPCTctgQ3eETMDYY xNiA== X-Gm-Message-State: AOAM533TFuYtMU4flAVlD1X2RkwuaPk1mDdPOrb22qij9EOw3Ap5NFDY iEKV3ZUUJ170UY/H9HtnynaUOtAwAuqrSI6Q3Hwxsj9P X-Received: by 2002:aed:2684:: with SMTP id q4mr2768445qtd.208.1593007460464; Wed, 24 Jun 2020 07:04:20 -0700 (PDT) MIME-Version: 1.0 References: <20200623040107.22270-1-warthog618@gmail.com> <20200623040107.22270-10-warthog618@gmail.com> In-Reply-To: <20200623040107.22270-10-warthog618@gmail.com> From: Bartosz Golaszewski Date: Wed, 24 Jun 2020 16:04:09 +0200 Message-ID: Subject: Re: [PATCH 09/22] gpiolib: cdev: rename priv to gcdev To: Kent Gibson Cc: LKML , linux-gpio , Linus Walleij Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org wt., 23 cze 2020 o 06:02 Kent Gibson napisa=C5=82(a)= : > > Rename priv to gcdev to improve readability. > > The name "priv" indicates that the object is pointed to by > file->private_data, not what the object is actually is. > It is always used to point to a struct gpio_chardev_data so renaming > it to gcdev seemed as good as anything, and certainly clearer than "priv"= . > > Signed-off-by: Kent Gibson > Ugh now it's gcdev and gdev everywhere and it doesn't really make it more readable. Maybe chardev_data or cdev_data? Bart