Nest all namespaces

The compiler supports this now.  We can type less going forward.
No functional changes.

Signed-off-by: Stephan Pleines <pleines.stephan@gmail.com>
Change-Id: I29d6fa4f9aacc0e381f1a7637294db0392466995
diff --git a/motors/print/itm.cc b/motors/print/itm.cc
index 7f472c0..be657bc 100644
--- a/motors/print/itm.cc
+++ b/motors/print/itm.cc
@@ -6,8 +6,7 @@
 
 #include "motors/core/itm.h"
 
-namespace frc971 {
-namespace motors {
+namespace frc971::motors {
 namespace {
 
 template <int kPort>
@@ -96,5 +95,4 @@
   return buffer.size();
 }
 
-}  // namespace motors
-}  // namespace frc971
+}  // namespace frc971::motors
diff --git a/motors/print/semihosting.cc b/motors/print/semihosting.cc
index a266ad6..310bb49 100644
--- a/motors/print/semihosting.cc
+++ b/motors/print/semihosting.cc
@@ -4,8 +4,7 @@
 
 #include "motors/core/semihosting.h"
 
-namespace frc971 {
-namespace motors {
+namespace frc971::motors {
 
 ::std::unique_ptr<PrintingImplementation> CreatePrinting(
     const PrintingParameters & /*parameters*/) {
@@ -23,5 +22,4 @@
   return buffer.size() - operation.Execute();
 }
 
-}  // namespace motors
-}  // namespace frc971
+}  // namespace frc971::motors
diff --git a/motors/print/uart.cc b/motors/print/uart.cc
index 4cfb001..f125789 100644
--- a/motors/print/uart.cc
+++ b/motors/print/uart.cc
@@ -4,8 +4,7 @@
 
 #include "motors/core/kinetis.h"
 
-namespace frc971 {
-namespace motors {
+namespace frc971::motors {
 namespace {
 
 ::std::atomic<teensy::InterruptBufferedUart *> global_stdout{nullptr};
@@ -65,5 +64,4 @@
   return len;
 }
 
-}  // namespace motors
-}  // namespace frc971
+}  // namespace frc971::motors
diff --git a/motors/print/usb.cc b/motors/print/usb.cc
index 9284ecd..45734b5 100644
--- a/motors/print/usb.cc
+++ b/motors/print/usb.cc
@@ -4,8 +4,7 @@
 
 #include "motors/core/kinetis.h"
 
-namespace frc971 {
-namespace motors {
+namespace frc971::motors {
 namespace {
 
 ::std::atomic<teensy::AcmTty *> global_stdout{nullptr};
@@ -62,5 +61,4 @@
   global_stdout.store(&stdout_tty_, ::std::memory_order_release);
 }
 
-}  // namespace motors
-}  // namespace frc971
+}  // namespace frc971::motors