From: Bartlomiej Zolnierkiewicz Date: Wed, 16 Jul 2008 18:33:42 +0000 (+0200) Subject: cmd640: add ->init_dev method X-Git-Tag: v2.6.27-rc1~1049^2~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b48c89a9699f451e4e236fa7313461281c00e69b;p=pandora-kernel.git cmd640: add ->init_dev method Convert the driver to use ->init_dev method instead of open-coding devices init in cmd640x_init(). While at it: - fix printk()-s to use KERN_INFO level instead of the default KERN_ERR - use DRV_NAME define in printk()-s - set proper ->pio_mask also for CONFIG_BLK_DEV_CMD640_ENHANCED=n There should be no functional changes caused by this patch (except fixing printk()-s levels). Signed-off-by: Bartlomiej Zolnierkiewicz --- Reading git-diff-tree failed