From: Lad, Prabhakar Date: Sat, 25 May 2013 16:39:36 +0000 (-0300) Subject: [media] media: i2c: ths7303: make the pdata as a constant pointer X-Git-Tag: v3.11-rc1~17^2~214 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dd8c393b3c39f7ebd9ad69ce50cc836773d512b6;p=pandora-kernel.git [media] media: i2c: ths7303: make the pdata as a constant pointer generally the pdata needs to be a constant pointer in the device state structure. This patch makes the pdata as a constant pointer and alongside returns -EINVAL when pdata is NULL. Signed-off-by: Lad, Prabhakar Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed