From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Grandegger Subject: Re: [PATCH 2/2] can: bfin_can: auto-calculate accessor sizes Date: Sun, 26 Jun 2011 16:15:22 +0200 Message-ID: <4E073EFA.7060203@grandegger.com> References: <1308925982-14645-1-git-send-email-vapier@gentoo.org> <1308925982-14645-2-git-send-email-vapier@gentoo.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: socketcan-core-0fE9KPoRgkgATYTw5x5z8w@public.gmane.org, netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, "David S. Miller" , uclinux-dist-devel-ZG0+EudsQA8dtHy/vicBwGD2FQJk+8+b@public.gmane.org To: Mike Frysinger Return-path: In-Reply-To: <1308925982-14645-2-git-send-email-vapier-aBrp7R+bbdUdnm+yROfE0A@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: socketcan-core-bounces-0fE9KPoRgkgATYTw5x5z8w@public.gmane.org Errors-To: socketcan-core-bounces-0fE9KPoRgkgATYTw5x5z8w@public.gmane.org List-Id: netdev.vger.kernel.org On 06/24/2011 04:33 PM, Mike Frysinger wrote: > Since we have a struct that defines the sizes of the registers, we don't > need to explicitly use the 16bit read/write helpers. Let the code figure > out which size access to make based on the size of the C type. > > There should be no functional changes here. > > Signed-off-by: Mike Frysinger Acked-by: Wolfgang Grandegger Thanks, Wolfgang,