Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp6458210imu; Wed, 14 Nov 2018 01:38:56 -0800 (PST) X-Google-Smtp-Source: AJdET5cJN3SJlv6iN9U71yEfqdhhISjNWK8GzRE5UWUbaBYLWVc4bCuXciHvGwc9ZBhrSy2TulcY X-Received: by 2002:a17:902:6b0c:: with SMTP id o12mr1182135plk.291.1542188336265; Wed, 14 Nov 2018 01:38:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542188336; cv=none; d=google.com; s=arc-20160816; b=yeL5J+cm+kNBGrNyctRApEA+fqxNpnYygnqgxk+OuOivfrkqEqGbe8ci9LiFllUHfo 9dpsQdIPC6RuyFQPkruufW8JSeQttQw0E+ljcQhZH+fLTLuqcn5++AH4ncHME4zrRoYC q1+Ve2qjvhTickHkXem9SsXWYVoD2SH3SszdbJ7Nuf8f/9ImEm3dL6+tLCRGeRU087/+ TfiuQdId5NVn0x0u/10PUHE1sPekeYhmq/bebDdCmY0Lv9BU4WWcrDti0Fd+U7N/HbT6 zNUW8AnfK24Rk4YDOG1dV5SafUS0PluLD+MHOj78gD/P085c43jbuquSkwHPR2z66jmC NLjA== 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 :in-reply-to:references:mime-version; bh=2D/532f6U7JNqc01EFV7GEaHY5+uaSp0bTtF+9ijWDg=; b=Uqn2BOjo3QUk5fqEqOsWTmitDukIPuMxYr27+Da2AdmlKdnqsZ1vnulXHVuSlSyWFX r1QlkP9IEoC6SLmi5htGyuPyTzO6VTMWjoWT1u6BUDxDgmzsIilPDoD0wYFQue5+4WW6 ZzEJ1dukQMnybwzBdjR/7HB0dzuVbxTCuPkzdaCE+sLAf4/lo8+0G1Oh6lGaZL76w1rl iIL/SP+LwvdupscgevJCVdwMTE5tmEQXWu0f/3iuPAD4KYY3r6ap5ssMvd/2TTKaJTJv hhTxyAu/FRq+Us5V50/QX2KSuHAr2DE8XFhJFXDcqJVeKV2cUQ1hZ5tHoTnnEstqzUn5 TMyQ== ARC-Authentication-Results: i=1; mx.google.com; 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 82si4294122pfa.115.2018.11.14.01.38.41; Wed, 14 Nov 2018 01:38:56 -0800 (PST) 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; 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 S1732459AbeKNTkV (ORCPT + 99 others); Wed, 14 Nov 2018 14:40:21 -0500 Received: from mail-vs1-f68.google.com ([209.85.217.68]:43825 "EHLO mail-vs1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727558AbeKNTkV (ORCPT ); Wed, 14 Nov 2018 14:40:21 -0500 Received: by mail-vs1-f68.google.com with SMTP id x1so9082365vsc.10; Wed, 14 Nov 2018 01:37:52 -0800 (PST) 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=2D/532f6U7JNqc01EFV7GEaHY5+uaSp0bTtF+9ijWDg=; b=T7S7mXOk1LRMxEk9yigE13sjvQT+5Jf/T/qyLJTrB6Ih7shP/MGRBM9gKkp9HgrtaJ t75QMBfAnRevNK9bbutmZiov7by2EkRZLJOQS10ekOZ28uAILyLHCP3/WPdk2Ajvm0PF +IOPi5molT+5GqIxV50xvkn0pqS/l6LFPBUNJe+DKM1htk2is3VS1sE/uLHIvTXfGcrP 7Eik17HodNv87hkW1d3cHXdTdRzSagRgfK25EUE/qzXgQEX78us6CJjiNqVcuzAmqrtJ MCDk3NvbyZkm3fv81BtipZHq9n/xBobJMAO2o7gN/aDmfT5nT5rr+6vbimFTFSFSCCt+ znMw== X-Gm-Message-State: AGRZ1gJ4HbYkc02PfO/OwZUiUoehIa4qkV/mvD2PHgiLyvdC0jQa8JlS VoICXRkl/cxf+49HkmZY2gmSYVl5mRiwcWQntPKvLw== X-Received: by 2002:a67:c202:: with SMTP id i2mr430246vsj.11.1542188272259; Wed, 14 Nov 2018 01:37:52 -0800 (PST) MIME-Version: 1.0 References: <20181113124744.7769-1-geert+renesas@glider.be> <1090034354.41357.1542177021922@webmail.strato.com> <1542187561.4095.1.camel@pengutronix.de> In-Reply-To: <1542187561.4095.1.camel@pengutronix.de> From: Geert Uytterhoeven Date: Wed, 14 Nov 2018 10:37:40 +0100 Message-ID: Subject: Re: [PATCH] reset: Add reset_control_get_count() To: Philipp Zabel Cc: uli@fpond.eu, Geert Uytterhoeven , Auger Eric , Alex Williamson , KVM list , Linux-Renesas , Linux Kernel Mailing List 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 Hi Philipp, On Wed, Nov 14, 2018 at 10:26 AM Philipp Zabel wrote: > On Wed, 2018-11-14 at 09:58 +0100, Geert Uytterhoeven wrote: > > On Wed, Nov 14, 2018 at 7:30 AM Ulrich Hecht wrote: > > > On November 13, 2018 at 1:47 PM Geert Uytterhoeven wrote: > > > > Currently the reset core has internal support for counting the number of > > > > resets for a device described in DT. Generalize this to devices using > > > > lookup resets, and export it for public use. > > > > > > > > This will be used by generic drivers that need to be sure a device is > > > > controlled by a single, dedicated reset line (e.g. vfio-platform). > > > > > > > > Signed-off-by: Geert Uytterhoeven > > > > --- a/drivers/reset/core.c > > > > +++ b/drivers/reset/core.c > > > > +/** > > > > + * of_reset_control_get_count - Count number of resets available with a device > > > > > > Should be "reset_control_get_count", without of_ prefix. > > > > Oops, thanks for catching! > > > > Philipp: Do you want a v2 or incremental, or can you fix it up yourself? > > No need, I'll fix it up. Thanks, and sorry for the typo. 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