thunderbolt: Fix typos and magic number
authorLukas Wunner <lukas@wunner.de>
Sun, 20 Mar 2016 12:57:20 +0000 (13:57 +0100)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 8 Apr 2016 16:09:34 +0000 (11:09 -0500)
commitaae20bb6b45e0666c63506053c40f71c0c34cba0
treeebbc7dbfa484881270e453ff5fbdd73af67a897f
parent1d111406c6d91f4d7f6cc69a43e59546e8010aae
thunderbolt: Fix typos and magic number

Fix typo in tb_cfg_print_error() message.  Fix bytecount in struct
tb_drom_entry_port comment.  Replace magic number in tb_switch_alloc().
Rename tb_sw_set_unpplugged() and TB_CAL_IECS to fix typos.

[bhelgaas: no functional change intended]
Signed-off-by: Lukas Wunner <lukas@wunner.de>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Andreas Noever <andreas.noever@gmail.com>
drivers/thunderbolt/ctl.c
drivers/thunderbolt/eeprom.c
drivers/thunderbolt/switch.c
drivers/thunderbolt/tb.c
drivers/thunderbolt/tb.h
drivers/thunderbolt/tb_regs.h