From patchwork Thu Jul 1 16:09:45 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johannes Berg X-Patchwork-Id: 12354531 X-Patchwork-Delegate: johannes@sipsolutions.net Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CF2ECC11F64 for ; Thu, 1 Jul 2021 16:10:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id AAD9B61416 for ; Thu, 1 Jul 2021 16:10:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232323AbhGAQMb (ORCPT ); Thu, 1 Jul 2021 12:12:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56002 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231698AbhGAQMa (ORCPT ); Thu, 1 Jul 2021 12:12:30 -0400 Received: from sipsolutions.net (s3.sipsolutions.net [IPv6:2a01:4f8:191:4433::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C2E58C061762 for ; Thu, 1 Jul 2021 09:09:59 -0700 (PDT) Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.94.2) (envelope-from ) id 1lyzGG-00EI4p-V0; Thu, 01 Jul 2021 18:09:57 +0200 From: Johannes Berg To: linux-wireless@vger.kernel.org Cc: Johannes Berg Subject: [PATCH] iw: ps: fix "get power_save" documentation Date: Thu, 1 Jul 2021 18:09:45 +0200 Message-Id: <20210701180945.45abdb0d4f52.Ifdc6ce8fdbf252019c080f609b6d95cec23d84ee@changeid> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org From: Johannes Berg This doesn't take any arguments, remove the "" string from the help. Signed-off-by: Johannes Berg --- ps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ps.c b/ps.c index de36d2b4b4a8..124bf75ccc1d 100644 --- a/ps.c +++ b/ps.c @@ -75,6 +75,6 @@ static int get_power_save(struct nl80211_state *state, return 0; } -COMMAND(get, power_save, "", +COMMAND(get, power_save, "", NL80211_CMD_GET_POWER_SAVE, 0, CIB_NETDEV, get_power_save, "Retrieve power save state.");