I designed a circuit board that primarily consists of digital logic ICs, with a few analog ICs and a 7805. All parts are SOIC (except the 7805 which is still SMD), and automotive rated (from Digikey). Other than the ICs, the board has ceramic caps, resistors, diodes, and one 2n3904, all surface mount. The board is designed to be operated off a car battery (on a running car). I am not using any electrolytics as I expect the currents involved to be very low, and the 7805 datasheet did not recommend any large capacitors and would generally prefer to avoid electrolytics for cost, reliability, and size reasons. The board functions fine, and I did not see any significant ripple on the output of the 7805, but I can hear a high pitch faint whining noise when the board is powered.
I think of whining as something that occurs as a result of inductance, and I doubt there is any significant amount on the board (although there may be significant inductance in the wires going to the board). The chip has digital outputs that are coming from 74HC chips. The inputs are going into a 74HC chip but have significant amounts of protection on them (series resistor and shunt capacitor and TVS diode). Can anyone give me any suggestions here as to the origin of the whining, if its something I should worry about, or how to correct it?