From patchwork Thu Jun 25 06:46:19 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 191733 Delivered-To: patch@linaro.org Received: by 2002:a92:d244:0:0:0:0:0 with SMTP id v4csp539389ilg; Wed, 24 Jun 2020 23:47:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxMd4NbVYXwhbSGBs6PjbJcRbAUAaJHh0/NDrNK2mCOW6N6mWxdhL6Dcqt6ERnTCBL0a/6m X-Received: by 2002:aa7:c590:: with SMTP id g16mr31027611edq.5.1593067620275; Wed, 24 Jun 2020 23:47:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593067620; cv=none; d=google.com; s=arc-20160816; b=eZZVxuvR19JIbAtNyOnhMP0YjmuhFgduWmxAqxtlvqHqAZW5zw6WbulJCuJDa5qFJQ SPX9rjHbNdT+btggeJTrxMuHLz4sj7EoTORD0AL1rh2Y1/CbVAUfjkX+hO47THbAOI6G i+8QrUS8diI9dLaPz5PBCR0LvmCeMUnqlbbN5/+rg4OzvVlTJcl1qWpvpv52dyXb8owQ q1YNRgc83Hf4/+sMn0tLNVbk9Cd44lWbnXioverfqobq3YPAg3Kt3oCkCQN7P+WgLKJt Swf0ygPmXREXi2OlXLGlWqVCEqOMjIKgXzIH5khMCU1sLK/eIYNa7K5PBM/Bu35mb6cr oCsQ== 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:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=bh7BIJEoFgjXHqYRkwppX22NHiJGTlWMxnnDJ2K7EXk=; b=bTCnpbKl+4WC/R0T8zD7d69l7iXTmTArTlKVi+Za/cFCcPZEAjgfRE6JWhzj+KNz54 nml5y/jktb9KH0BKt6rl8/F4wtBqIcJA6xgH856BtCA8aeB+U4CL92453/aq45I0EpWZ x8pCoYzhyj3sEVunW3rn+TFg6zWxrcYyJFoPehCq9XZ8s5CmIrhFUP+M8r46/nN/hx5F EVR7a4SQqmYw3QclB+hyHqTLw3ZEHI03NPIkKHOlQTmECoJiVd227ZRufyOBNPb+cnmK Y6e9NNNEO8QNhbJXdq+bNJWHp29yIyFd1P+tytgcEoXNPCAm3Dk5Y7dmfYOBK8YrSMbf WuPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=glb++HtS; spf=pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w6si14410949eja.471.2020.06.24.23.47.00; Wed, 24 Jun 2020 23:47:00 -0700 (PDT) Received-SPF: pass (google.com: domain of stable-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=@linaro.org header.s=google header.b=glb++HtS; spf=pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390194AbgFYGqy (ORCPT + 15 others); Thu, 25 Jun 2020 02:46:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60140 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390141AbgFYGqi (ORCPT ); Thu, 25 Jun 2020 02:46:38 -0400 Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 62043C0613ED for ; Wed, 24 Jun 2020 23:46:38 -0700 (PDT) Received: by mail-wr1-x441.google.com with SMTP id q5so4599739wru.6 for ; Wed, 24 Jun 2020 23:46:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=bh7BIJEoFgjXHqYRkwppX22NHiJGTlWMxnnDJ2K7EXk=; b=glb++HtS7oZWTpXDAzu7GckwXl1mrcYHW8RG3vTiRLcrJP0l7bKna80fqlxmkNdFuI WtsEu8LgvypecW54tymX3u8xbDuWXwH15K8LxtUmwAnB5XGefq2pMyX5ndzdlS78CuO6 X8YwtelBuFGRwp5DX/Lg1xCuSkc+Gue1l6Ue7pWro9xfXnmYiRXceFTqupqzt+vGtjDT +jbyK+D9fFbDRc+8XfgTfi+DfbyNx+U0gVeA3dnVYIMm4bPGVm/BWPyspiJbOZd5LODD 3QuaAbe8tuiikxunA1ERhVLZ1r718Dkld9We079Otb5DKfuJKCICePZjxmw2lQLBaD1m DHsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=bh7BIJEoFgjXHqYRkwppX22NHiJGTlWMxnnDJ2K7EXk=; b=TrMGfdEcly5tLHcc1YqRQEi4Dfb9U9j2NKh6sMUl2iEI0LEgxJgWzdoLm8HrngfvLf 9Rv0P7N8ahWVoH8PJRP8zvu4EmURnyqTkQ1w3rRf00AxUmBrARmLp/0Had2RtsTW1qYc sOW4U7r2rN5aJ2d5bXCWviSPHW3n3pxkwZ7MhUXltexfQto89OuNBa8PpC9HhCianB9/ ywe2vGP6CBj6Dhw7zDDXO7QWocFGDIsuv6uX0Ymbc4kcU4M+0wqnZAbNWtL+jF0Aj4LV /DUkZN+7LB0RBAgpswMus73LunfTQF3KZxbNYQ5BqHDdQy02ScN2JqvC94K1IkenBdHU s4Uw== X-Gm-Message-State: AOAM532/VMQjqDVZgdM2uFMmpvmMAvTuFmcT7xsQL6basz5BSoHPIZxW U1Ogj8CxOJlum/l3o59P0E9UdA== X-Received: by 2002:a5d:6802:: with SMTP id w2mr8325231wru.88.1593067597162; Wed, 24 Jun 2020 23:46:37 -0700 (PDT) Received: from localhost.localdomain ([2.27.35.144]) by smtp.gmail.com with ESMTPSA id c20sm27235363wrb.65.2020.06.24.23.46.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jun 2020 23:46:36 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org, Thor Thayer Subject: [PATCH 10/10] mfd: altera-sysmgr: Supply descriptions for 'np' and 'property' function args Date: Thu, 25 Jun 2020 07:46:19 +0100 Message-Id: <20200625064619.2775707-11-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200625064619.2775707-1-lee.jones@linaro.org> References: <20200625064619.2775707-1-lee.jones@linaro.org> MIME-Version: 1.0 Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org Kerneldoc syntax is used, but not complete. Arg descriptions are required. Fixes the following W=1 build warnings: drivers/mfd/altera-sysmgr.c:95: warning: Function parameter or member 'np' not described in 'altr_sysmgr_regmap_lookup_by_phandle' drivers/mfd/altera-sysmgr.c:95: warning: Function parameter or member 'property' not described in 'altr_sysmgr_regmap_lookup_by_phandle' Cc: Cc: Thor Thayer Signed-off-by: Lee Jones --- drivers/mfd/altera-sysmgr.c | 3 +++ 1 file changed, 3 insertions(+) -- 2.25.1 diff --git a/drivers/mfd/altera-sysmgr.c b/drivers/mfd/altera-sysmgr.c index 83f0765f819b0..41076d121dd54 100644 --- a/drivers/mfd/altera-sysmgr.c +++ b/drivers/mfd/altera-sysmgr.c @@ -89,6 +89,9 @@ static struct regmap_config altr_sysmgr_regmap_cfg = { * altr_sysmgr_regmap_lookup_by_phandle * Find the sysmgr previous configured in probe() and return regmap property. * Return: regmap if found or error if not found. + * + * @np: Pointer to device's Device Tree node + * @property: Device Tree property name which references the sysmgr */ struct regmap *altr_sysmgr_regmap_lookup_by_phandle(struct device_node *np, const char *property)