]> rtime.felk.cvut.cz Git - linux-imx.git/commit
iio:trigger:interrupt fix formatting of rsize variable in name
authorJonathan Cameron <jic23@kernel.org>
Thu, 6 Jun 2013 18:27:00 +0000 (19:27 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sat, 8 Jun 2013 09:00:58 +0000 (10:00 +0100)
commit78f304d06c47d600ec1a4b0995f1f4c5667a677e
treeb1744a46020d4de8ad46e77577413e1d696648d3
parente89b6747058748f0190a6852f53d65a7e79f4a9f
iio:trigger:interrupt fix formatting of rsize variable in name

The name includes irq_res->start which of type resource_size_t not integer.
We could in theory use %pa for this but then it would be in hex and also
that causes a warning about incorrect types anyway.  Hence just
use the irq local variable we assigned the line above.

Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/trigger/iio-trig-interrupt.c