Linear Workflow Shelf Buttons:
Download wGammaTools here. v1.0
This is a tool that automatically sets up linear workflow for shading networks as described in the blog post here.
Light Linking in Maya may appear at times to be black magic, this tool aims to
demystify it and make fixing problems effortless for any user.
Unfortunately, some lightlinking tools/scripts actually create more problems.
This tool is designed to safely clean scenes anytime, and additionally provide
tools for efficiently light linking. For more info, read the full help docs.
Example of before and after cleaning: