I just came from an inspection that had a main panel and sub panel. The sub was fed from a 100 amp breaker in the main panel. They had moved most of the convenience circuits over the the sub. Here’s the twist: they only moved the ungrounded wires and neutral wires to the sub panel, the bare grounds were left in the main panel. These panels are adjacent to each other.
Does this work?