Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754394AbcCBO1x (ORCPT ); Wed, 2 Mar 2016 09:27:53 -0500 Received: from smtp73.iad3a.emailsrvr.com ([173.203.187.73]:60541 "EHLO smtp73.iad3a.emailsrvr.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751205AbcCBO1v (ORCPT ); Wed, 2 Mar 2016 09:27:51 -0500 X-Auth-ID: abbotti@mev.co.uk X-Sender-Id: abbotti@mev.co.uk From: Ian Abbott To: devel@driverdev.osuosl.org Cc: Greg Kroah-Hartman , Ian Abbott , H Hartley Sweeten , linux-kernel@vger.kernel.org Subject: [PATCH 2/2] staging: comedi: comedi.h: Fix comment for struct comedi_krange Date: Wed, 2 Mar 2016 14:27:38 +0000 Message-Id: <1456928858-6014-3-git-send-email-abbotti@mev.co.uk> X-Mailer: git-send-email 2.7.0 In-Reply-To: <1456928858-6014-1-git-send-email-abbotti@mev.co.uk> References: <1456928858-6014-1-git-send-email-abbotti@mev.co.uk> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1028 Lines: 26 The kernel-doc comment for `struct comedi_krange` refers to the macro constant `RF_external`. It should be `RF_EXTERNAL`, so fix it. It also documents the value of the constant as `(1 << 8)`, but the macro now expands to the hexadecimal constant `0x100`, so use that as the documented value. Signed-off-by: Ian Abbott --- drivers/staging/comedi/comedi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/comedi/comedi.h b/drivers/staging/comedi/comedi.h index 9547324..ad5297f 100644 --- a/drivers/staging/comedi/comedi.h +++ b/drivers/staging/comedi/comedi.h @@ -667,7 +667,7 @@ struct comedi_rangeinfo { * by 1e6, so a @max value of %1000000 (with %UNIT_volt) represents a maximal * value of 1 volt. * - * The only defined flag value is %RF_external (%1 << %8), indicating that the + * The only defined flag value is %RF_EXTERNAL (%0x100), indicating that the * the range needs to be multiplied by an external reference. */ struct comedi_krange { -- 2.7.0