diff options
author | Lad, Prabhakar <prabhakar.csengg@gmail.com> | 2013-05-25 13:39:36 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-06-13 11:42:17 -0300 |
commit | dd8c393b3c39f7ebd9ad69ce50cc836773d512b6 (patch) | |
tree | 9d0364b9ff8de67daef444390dd26f1d85da286c /usr | |
parent | 8524ce558a0111762efa1a6b5ba9ce5e092b4707 (diff) |
[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 <prabhakar.csengg@gmail.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions