thunderbolt: Use const buffer pointer in write operations
authorMika Westerberg <mika.westerberg@linux.intel.com>
Tue, 6 Jun 2017 12:24:53 +0000 (15:24 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 9 Jun 2017 09:42:40 +0000 (11:42 +0200)
commit16a1258af5d8e1bd58e20fc70069f9dd91cc5b34
treef14c370f46f6dd7c2f6a42b2f85382162df0e8de
parent73726380a26fa1ed490f30fccee10ed9da28dc0c
thunderbolt: Use const buffer pointer in write operations

These functions should not (and do not) modify the argument in any way
so make it const.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Reviewed-by: Yehezkel Bernat <yehezkel.bernat@intel.com>
Reviewed-by: Michael Jamet <michael.jamet@intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Andreas Noever <andreas.noever@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/thunderbolt/ctl.c
drivers/thunderbolt/ctl.h
drivers/thunderbolt/tb.h