diff --git a/include/hpp/manipulation/device.hh b/include/hpp/manipulation/device.hh
index c4b0c6c49e2ef0712eedaa07dbdff44f3bcbcac3..fb4c5b668c00805dfe1d604c5a3d72e013eacd58 100644
--- a/include/hpp/manipulation/device.hh
+++ b/include/hpp/manipulation/device.hh
@@ -83,9 +83,7 @@ class HPP_MANIPULATION_DLLAPI Device
   /// \param objects Set of objects manipulated by the robot.
   Device(const std::string& name);
 
-  void init(const DeviceWkPtr_t& self) {
-    Parent_t::init(self);
-  }
+  void init(const DeviceWkPtr_t& self) { Parent_t::init(self); }
 
   void initCopy(const DeviceWkPtr_t& self, const Device& other) {
     Parent_t::initCopy(self, other);
diff --git a/src/device.cc b/src/device.cc
index eaf7e4f97b6c1bd927b7b865881ba2dc6adaecec..937e7478dffaa37e83e7ea4aad5cd35f9bf0dd95 100644
--- a/src/device.cc
+++ b/src/device.cc
@@ -139,7 +139,8 @@ void Device::removeJoints(const std::vector<std::string>& jointNames,
   Parent_t::removeJoints(jointNames, referenceConfig);
 
   for (auto& pair : grippers.map)
-    pair.second = pinocchio::Gripper::create(pair.second->name(), shared_from_this());
+    pair.second =
+        pinocchio::Gripper::create(pair.second->name(), shared_from_this());
   // TODO update handles and jointAndShapes
 }