Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934313AbbKSOtV (ORCPT ); Thu, 19 Nov 2015 09:49:21 -0500 Received: from smtp121.iad3a.emailsrvr.com ([173.203.187.121]:37362 "EHLO smtp121.iad3a.emailsrvr.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934242AbbKSOtT (ORCPT ); Thu, 19 Nov 2015 09:49:19 -0500 X-Auth-ID: abbotti@mev.co.uk X-Sender-Id: abbotti@mev.co.uk From: Ian Abbott To: driverdev-devel@linuxdriverproject.org Cc: Greg Kroah-Hartman , Ian Abbott , H Hartley Sweeten , linux-kernel@vger.kernel.org Subject: [PATCH 0/2] staging: comedi: s526: add counter register macros Date: Thu, 19 Nov 2015 14:49:06 +0000 Message-Id: <1447944548-25850-1-git-send-email-abbotti@mev.co.uk> X-Mailer: git-send-email 2.6.2 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 697 Lines: 14 Add macros to describe the counter mode and counter control/status registers. In patch 1, the macros for the counter mode register replace the use of bitfield structure and union types. 1) staging: comedi: s526: replace counter mode bitfield struct 2) staging: comedi: s526: add macros for counter control reg values drivers/staging/comedi/drivers/s526.c | 197 ++++++++++++++++++++++------------ 1 file changed, 130 insertions(+), 67 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/