aboutsummaryrefslogtreecommitdiff
path: root/drivers/tty/tty_ldisc.c
diff options
context:
space:
mode:
authorWolfram Sang2014-04-17 10:57:18 +0200
committerMarc Kleine-Budde2014-04-24 22:09:01 +0200
commitf323d7a1d2868c00b2604dca36ad82e8ecbe4270 (patch)
treed4db44e61e0d6a6197e47aa74b567f9b034d7608 /drivers/tty/tty_ldisc.c
parent939415973fdfb2c16a474e2575ba2581b828ccac (diff)
can: c_can: use proper type for 'instance'
Commit 6439fbce1075 (can: c_can: fix error checking of priv->instance in probe()) found the warning but applied a suboptimal solution. Since, both pdev->id and of_alias_get_id() return integers, it makes sense to convert the variable to an integer and avoid the cast. Signed-off-by: Wolfram Sang <wsa@sang-engineering.com> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'drivers/tty/tty_ldisc.c')
0 files changed, 0 insertions, 0 deletions