How do you reset warning light for brakes BMW 2005 325ci?

The brake warning light on a 2005 BMW 325i can be reset by connecting an OBD II code reader. It can view and clear error codes detected by the computer.