Motorola, recently started pushing out the Android Nougat update for their affordable mid-range smartphones, the Moto G4 and Moto G4 Plus. Now the company has posted the kernel source code for the update, allowing developers to play around with the code and create even better kernels and custom ROMs for the devices, running Android 7.0 Nougat. This is something that Motorola has been doing with every device and every update for quite a few years now. Which has helped them get into the good graces of developers, as it makes it easier for them to develop for their devices.
For those that are looking to get into the code and see what's what, you can check out Motorola's GitHub page which is in the source section below, for all of the information. If you aren't a developer, this likely won't do anything for you, seeing as it won't help your device run smoother or faster, unless you opt to run a new custom ROM or custom kernel. ROM developers and kernel developers will be happy to use this code to make their ROMs and kernels even better, seeing as they do have official code to work off of.
Motorola, now owned by Lenovo, has had great success with their Moto G lineup. In 2016, they expanded the lineup to include three devices - the Moto G4 Play, Moto G4 Plus and Moto G4 - all of which have slightly different specs and hit different price points. The Moto G4 Play actually has a smaller display and a lower-end processor, but the Moto G4 and Moto G4 Plus are largely the same, other than the RAM, storage and fingerprint sensor on the Moto G4 Plus. These smartphones have sold well for Motorola since being released in the middle of 2016. As they are essentially flagship level (particularly the Moto G4 Plus) smartphones at a fraction of the price, in fact these range between $99 and $299 for an unlocked model. Which is far less than what you'd see from Samsung, LG, HTC and other smartphone makers these days. If you own the Moto G4 or Moto G4 Plus, you should be seeing the Android Nougat update fairly soon.