Re: [PATCH 1/6] Core driver for WM97xx touchscreens

From: Dmitry Baryshkov
Date: Tue Feb 12 2008 - 17:59:23 EST


Hi,

Mark Brown wrote:

> This patch series adds support for the touchscreen controllers provided
> by Wolfson Microelectronics WM97xx series chips in both polled and
> streaming modes.

You used platform_device_register, but should be using platform_device_add,
otherwise you get barfs with 2.6.25-rc1 (device is initialized twice). Also
as <sound/driver.h> got deprecated there is no point including it.

Patch below

--
With best wishes
Dmitry