From: H Hartley Sweeten Date: Thu, 13 Mar 2014 21:16:25 +0000 (-0700) Subject: staging: comedi: gsc_hpdi: remove hpdi_writel() X-Git-Tag: v3.15-rc1~139^2~222 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ab5cf493170e2d7d0f4a74467009d55e63cd1a71;p=pandora-kernel.git staging: comedi: gsc_hpdi: remove hpdi_writel() This helper function is used to OR bits with a software copy of a register value then writel() the new value to the register. The software copies are never updated in the driver so they are always 0 due to the kzalloc. Remove the unnecessary 'bits' from the private data and replace the hpdi_writel() calls with writel(). Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed